forked from rDrama/rDrama
gfd
parent
559d5b8e3d
commit
c89b314c05
|
@ -186,7 +186,7 @@ def sanitize(sanitized, noimages=False):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if start in sanitized and end in sanitized and start in sanitized.split(end)[0] and end in sanitized.split(start)[1]: sanitized = sanitized.replace(start, '<span class="spoiler">').replace(end, '</span>')
|
if start in sanitized and end in sanitized and start in sanitized.split(end)[0] and end in sanitized.split(start)[1]: sanitized = sanitized.replace(start, '<span class="spoiler">').replace(end, '</span>')
|
||||||
|
|
||||||
for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized):
|
for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized):
|
||||||
old = i.group(0)
|
old = i.group(0)
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<div class="col p-0 w-100">
|
<div class="col p-0 w-100">
|
||||||
<ul class="nav settings-nav" style="padding:0 30px;">
|
<ul class="nav settings-nav" style="padding:0 30px;">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link py-3{% if not '=' in request.full_path %} active{% endif %}" href="/notifications">
|
<a class="nav-link py-3{% if not '=true' in request.full_path %} active{% endif %}" href="/notifications">
|
||||||
All
|
All
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -46,7 +46,6 @@
|
||||||
<h1 class="h3 d-md-none">Inbox</h1>
|
<h1 class="h3 d-md-none">Inbox</h1>
|
||||||
|
|
||||||
{% with comments=notifications %}
|
{% with comments=notifications %}
|
||||||
|
|
||||||
{% include "comments.html" %}
|
{% include "comments.html" %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue