This commit is contained in:
Aevann1 2021-12-24 04:16:08 +02:00
parent 57153eb972
commit a72c4c5781
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,