master
Aevann1 2021-12-24 04:16:08 +02:00
parent 0374e663af
commit 469040917e
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ def create_comment(text, autojanny=False):
else: author_id = NOTIFICATIONS_ID
text = text.replace('r/', 'r\/').replace('u/', 'u\/')
text_html = sanitize(CustomRenderer().render(mistletoe.Document(text)))
text_html = sanitize(mistletoe.Document(text))
new_comment = Comment(author_id=author_id,
parent_submission=None,
distinguish_level=6,

View File

@ -155,7 +155,7 @@
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/suicide')">Get them help</a>
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable', 'coin-transfer')">Gift {{'COINS_NAME' | app_config}}</a>
{% if v.procoins > 100 %}
{% if v.procoins > 99 %}
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable', 'bux-transfer')">Gift Marseybux</a>
{% endif %}
@ -443,8 +443,8 @@
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable-mobile', 'message-mobile')">Message</a>
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/suicide')">Get them help</a>
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable-mobile', 'coin-transfer-mobile')">Gift {{'COINS_NAME' | app_config}}</a>
{% if v.procoins > 100 %}
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable', 'bux-transfer')">Gift Marseybux</a>
{% if v.procoins > 99 %}
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable', 'bux-transfer-mobile')">Gift Marseybux</a>
{% endif %}
{% if v.admin_level > 2 %}