diff --git a/main.js b/main.js
index c669428..cbe0345 100644
--- a/main.js
+++ b/main.js
@@ -1955,7 +1955,7 @@ function rawline2html(line, index, options)
if (line.startsWith("#"))
{
line = line.replace(/(#* )/, "$1"); // to check!
- line = "" + line + "";
+ line = "" + line + "";
}
// bold and italics
@@ -1964,7 +1964,7 @@ function rawline2html(line, index, options)
{
temp = line.substring(2);
}
- temp = temp.replace(/\*\*([^\*]*)\*\*/g, "**$1**");
+ temp = temp.replace(/\*\*([^\*]*)\*\*/g, "**$1**");
temp = temp.replace(/\*([^\*]*)\*/g, "*$1*");
if (line.startsWith("* "))
@@ -1996,7 +1996,7 @@ function rawline2html(line, index, options)
{
options.header = false;
}
- line = line || "
";
+ line = line || emptyline;
line = "" + line + "";
}
@@ -2090,8 +2090,8 @@ function rawline2html(line, index, options)
}
else
{
- line = line.replace(/(\(\w\))/g, "$1");
- line = line.replace(/(@\w*)/g, "$1");
+ line = line.replace(/(\(\w\))/g, "$1");
+ line = line.replace(/(@\w*)/g, "$1");
line = line.replace(/(\s\+\w*)/g, "$1");
}
}