forked from MarseyWorld/MarseyWorld
master
parent
07579590e3
commit
b4f082da0d
|
@ -159,7 +159,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False):
|
|||
tag["data-src"] = tag["src"]
|
||||
tag["src"] = "/static/assets/images/loading.webp"
|
||||
tag['alt'] = f'![]({tag["data-src"]})'
|
||||
tag["onclick"] = f"expandDesktopImage(this.dataset.src);"
|
||||
tag["onclick"] = f"expandDesktopImage(this.src);"
|
||||
tag["data-bs-toggle"] = "modal"
|
||||
tag["data-bs-target"] = "#expandImageModal"
|
||||
|
||||
|
|
|
@ -848,7 +848,7 @@
|
|||
|
||||
{% if v %}
|
||||
<script src="/static/assets/js/marked.js?a=3"></script>
|
||||
<script src="/static/assets/js/comments_v.js?a=11"></script>
|
||||
<script src="/static/assets/js/comments_v.js?a=12"></script>
|
||||
{% endif %}
|
||||
|
||||
<script src="/static/assets/js/clipboard.js?a=3"></script>
|
||||
|
|
Loading…
Reference in New Issue