fix order of ul li li ul wrappers
This commit is contained in:
parent
ee8b2e6b69
commit
113ff48031
|
@ -111,7 +111,7 @@ function parseGemtextToHTML(gmiText) {
|
|||
.replace(/^### (.*$)/gim, "<h3>$1</h3>")
|
||||
.replace(/^## (.*$)/gim, "<h2>$1</h2>")
|
||||
.replace(/^# (.*$)/gim, "<h1>$1</h1>")
|
||||
.replace(/^\* (.*$)/gim, "<ul><li>$1</ul></li>") //hack, would be better to add to ul list
|
||||
.replace(/^\* (.*$)/gim, "<ul><li>$1</li></ul>") //hack, would be better to add to ul list
|
||||
.replace(/^\> (.*$)/gim, "<blockquote>$1</blockquote>")
|
||||
.replace(
|
||||
/^=>\s+(\S+(.jpg|.jpeg|.png|.gif|.svg))\s*(.*)/gim,
|
||||
|
|
Loading…
Reference in New Issue