} "$hl" line
set result(body) "$result(body)$line"
set codeblock ""
@@ -135,6 +137,9 @@ proc parse_markdown {path _result} {
}
} else {
set blank 1
+ set line "[regsub -all {\&} "$line" {\&}]"
+ set line "[regsub -all {<} "$line" {\<}]"
+ set line "[regsub -all {>} "$line" {\>}]"
set line "[regsub -all {\*\*\*(.+)\*\*\*} "$line" {\1}]"
set line "[regsub -all {\*\*(.+)\*\*} "$line" {\1}]"
set line "[regsub -all {\*(.+)\*} "$line" {\1}]"