This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
/* Dynamically load Sentry only when error is reported */ | |
/* Similar to https://docs.sentry.io/platforms/javascript/install/lazy-load-sentry/ */ | |
function log_to_sentry(e, url, line, column, error) { | |
if (!window.Sentry) { | |
var script = document.createElement('script'); | |
script.src = "https://browser.sentry-cdn.com/5.29.0/bundle.min.js"; | |
script.integrity="sha384-/dYT/04VSU9ItKRPTkWeVZ0kqRsVh/T/5rNCjzBwpx7sYeeueKgJzGMNXSal3xoo"; | |
script.crossOrigin = "anonymous"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ins class="adsbygoogle-lazy" | |
style="display:block" | |
data-ad-client="..." | |
data-ad-slot="..." | |
data-ad-format="auto" | |
data-full-width-responsive="true"></ins> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<style> | |
.icon { | |
width: 1.5em; | |
height: 1.5em; | |
stroke: currentColor; | |
stroke-width: 1.5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
from django.utils.encoding import force_text | |
from django.template import Library, Node | |
register = Library() | |
def strip_spaces_in_tags(value): |