fix --- support
This commit is contained in:
parent
f159d2f429
commit
4cfabd7663
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@
|
||||||
.replaceAll(/\[[*][*][*][_] ([\w\W]*?) [_][*][*][*]\]/g, '<b><i><u>$1</u></i></b>')
|
.replaceAll(/\[[*][*][*][_] ([\w\W]*?) [_][*][*][*]\]/g, '<b><i><u>$1</u></i></b>')
|
||||||
.replaceAll(/\[["] ([\w\W]*?) ["]\]/g, '<pre class="inline">$1</pre>')
|
.replaceAll(/\[["] ([\w\W]*?) ["]\]/g, '<pre class="inline">$1</pre>')
|
||||||
.replaceAll(/\[["]["]* \n([\w\W]*?)\n ["]["]*\]/g, '<pre>$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/>')
|
.replaceAll('\n', '<br/>')
|
||||||
ret += '<div class="controls">'
|
ret += '<div class="controls">'
|
||||||
if (postid != -1 || id == '') {
|
if (postid != -1 || id == '') {
|
||||||
|
|
Loading…
Reference in a new issue