diff --git a/qsgen2 b/qsgen2
index b27fef6..8da3846 100755
--- a/qsgen2
+++ b/qsgen2
@@ -797,79 +797,72 @@ function _cleanup() {
}
function _html() {
-
- # This function converts formatting tags into their HTML equivalents in a provided string
- # using QStags (QS-tags)
-
+
local content="${1}"
local debug=false
- if (${debug}); then _msg debug "_html: Converting QStags in content"; fi
+ if ${debug}; then _msg debug "_html: Converting QStags in content"; fi
- # Perform HTML tag substitutions handling both lowercase and uppercase QStags
- local html_content=$( echo "${content}" | sed \
- -e "s|#[bB][rR]| \n|g" \
- -e "s|#[bB]||g" \
- -e "s|#[eE][bB]|\n|g" \
- -e "s|#[iI]||g" \
- -e "s|#[eE][iI]||g" \
- -e "s|#[pP]|