remotes/1693045480750635534/spooky-22
Aevann1 2021-10-06 11:09:14 +02:00
parent 09cc81522b
commit 5479288381
2 changed files with 9 additions and 7 deletions

View File

@ -190,7 +190,7 @@ def sanitize(sanitized, noimages=False):
for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized):
old = i.group(0)
new = old.lower().replace(">", " style='margin-bottom:0 !important'>")
if 'marseylong' in old: new = old.lower().replace(">", " style='margin-bottom:0 !important'>")
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', new):
emoji = i.group(1).lower()
if emoji.startswith("!"):

View File

@ -1,11 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.mirrored {
transform: scaleX(-1);-webkit-transform: scaleX(-1);
}
</style>
<script src="https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
@ -73,7 +69,7 @@
{% if v %}
<script>function formkey() {return '{{v.formkey}}';}</script>
<script src="/assets/js/default.js?v=10"></script>
<script src="/assets/js/default.js?v=11"></script>
{% endif %}
@ -349,6 +345,12 @@
</div>
<style>
.mirrored {
transform: scaleX(-1);-webkit-transform: scaleX(-1);
}
</style>
</body>