fds
This commit is contained in:
parent
57153eb972
commit
a72c4c5781
2 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue