fix order of ul li li ul wrappers

This commit is contained in:
lee2sman 2021-08-28 13:47:27 -04:00
parent ee8b2e6b69
commit 113ff48031
1 changed files with 1 additions and 1 deletions

View File

@ -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,