diff --git a/main.js b/main.js
index e0cff27..64458f1 100644
--- a/main.js
+++ b/main.js
@@ -1952,8 +1952,8 @@ function rawline2html(line, index, options)
{
temp = line.substring(2);
}
- temp = temp.replace(/**([^\*]*)\*\*/g, "**$1**");
- temp = temp.replace(/*([^\*]*)\*/g, "*$1*");
+ temp = temp.replace(/\*\*([^\*]*)\*\*/g, "**$1**");
+ temp = temp.replace(/\*([^\*]*)\*/g, "*$1*");
if (line.startsWith("* "))
{
@@ -2019,7 +2019,7 @@ function rawline2html(line, index, options)
line = line.replace(/(\[\[.*\]\])/g, "$1");
// comments
- line = line.replace(/<!--(.*)/g, "<!--$1");
+ line = line.replace(/<\!--(.*)/g, "<!--$1");
if (line.includes("<!--") && !line.includes("-->"))
{
@@ -2039,7 +2039,7 @@ function rawline2html(line, index, options)
}
}
- line = line.replace(/-->/g, "-->");
+ line = line.replace(/\-\->/g, "-->");
if (line.startsWith("// "))
{