fix --- support

This commit is contained in:
Daniella / Tove 2023-03-22 14:12:43 +01:00
parent f159d2f429
commit 4cfabd7663
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F

View file

@ -127,7 +127,7 @@
.replaceAll(/\[[*][*][*][_] ([\w\W]*?) [_][*][*][*]\]/g, '<b><i><u>$1</u></i></b>')
.replaceAll(/\[["] ([\w\W]*?) ["]\]/g, '<pre class="inline">$1</pre>')
.replaceAll(/\[["]["]* \n([\w\W]*?)\n ["]["]*\]/g, '<pre>$1</pre>')
.replaceAll('\n---\n', '<br/><hr><br/>')
.replaceAll('\n---\n', '<br/><hr>')
.replaceAll('\n', '<br/>')
ret += '<div class="controls">'
if (postid != -1 || id == '') {