add --- support
This commit is contained in:
parent
70ac7de23f
commit
4920056e12
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +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', '<br/>')
|
||||
ret += '<div class="controls">'
|
||||
if (postid != -1 || id == '') {
|
||||
|
|
Loading…
Add table
Reference in a new issue