forked from MarseyWorld/MarseyWorld
fdsfds
parent
97ff77905d
commit
7d5141c8cb
File diff suppressed because one or more lines are too long
|
@ -346,6 +346,8 @@ def message2(v, username):
|
|||
|
||||
message = request.values.get("message", "").strip()[:1000].strip()
|
||||
|
||||
if 'linkedin.com' in message: return {"error": "this domain 'linkedin.com' is banned"}
|
||||
|
||||
message = re.sub('!\[\]\((.*?)\)', r'\1', message)
|
||||
|
||||
text_html = Renderer().render(mistletoe.Document(message))
|
||||
|
@ -402,6 +404,8 @@ def messagereply(v):
|
|||
|
||||
message = request.values.get("body", "").strip()[:1000].strip()
|
||||
|
||||
if 'linkedin.com' in message: return {"error": "this domain 'linkedin.com' is banned"}
|
||||
|
||||
message = re.sub('!\[\]\((.*?)\)', r'\1', message)
|
||||
|
||||
id = int(request.values.get("parent_id"))
|
||||
|
|
|
@ -761,7 +761,7 @@
|
|||
{% include "expanded_image_modal.html" %}
|
||||
|
||||
<script defer src="/assets/js/popover.js?v=9"></script>
|
||||
<script defer src="/assets/js/comments.js?v=5"></script>
|
||||
<script defer src="/assets/js/comments.js?v=7"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load",function(event) {
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script defer src="/assets/js/emoji_modal.js?v=126"></script>
|
||||
<script defer src="/assets/js/emoji_modal.js?v=128"></script>
|
||||
|
||||
<style>
|
||||
a.emojitab {
|
||||
|
|
|
@ -384,7 +384,7 @@
|
|||
({% if p.realurl(v) %}<a href="/search/posts/?q=domain%3A{{p.domain}}&sort=new&t=all" {% if not v or v.newtabexternal %}target="_blank"{% endif %}>{{p.domain}}</a>{% else %}text post{% endif %})
|
||||
|
||||
{% if p.edited_utc %}
|
||||
Edited <span data-bs-toggle="tooltip" data-bs-placement="bottom" onmouseover="timestamp('edited_timestamp','{{p.edited_utc}}')" id="edited_timestamp">{{p.edited_string}}</span>
|
||||
Edited <span data-bs-toggle="tooltip" data-bs-placement="bottom" onmouseover="timestamp('edited_timestamp','{{p.edited_utc}}')" id="edited_timestamp">{{p.edited_string}}</span>
|
||||
{% endif %}
|
||||
{{p.views}} views
|
||||
</div>
|
||||
|
@ -878,7 +878,7 @@
|
|||
{% include "ban_modal.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<script defer src="/assets/js/comments.js?v=5"></script>
|
||||
<script defer src="/assets/js/comments.js?v=7"></script>
|
||||
{% include "expanded_image_modal.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -658,4 +658,4 @@
|
|||
<script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
|
||||
<script defer src="/assets/js/popover.js?v=9"></script>
|
||||
<script defer src="/assets/js/submission_listing.js?v=1"></script>
|
||||
<script defer src="/assets/js/submission_listing.js?v=4"></script>
|
Loading…
Reference in New Issue