From: Paul Hänsch Date: Mon, 12 Jun 2023 15:41:51 +0000 (+0200) Subject: Merge commit '43ef03d4091027465dca65bca2ec6e4c52fbdff8' X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=0d5786afa416aa19fc5c0bedd0dea93532abd34f;hp=d528b3d990539a7a9a5d11348ffdb3b269e3e569;p=shellwiki Merge commit '43ef03d4091027465dca65bca2ec6e4c52fbdff8' --- diff --git a/cgilite/markdown.awk b/cgilite/markdown.awk index 7d7e0a5..af3d722 100755 --- a/cgilite/markdown.awk +++ b/cgilite/markdown.awk @@ -115,8 +115,8 @@ function inline( line, LOCAL, len, code, href, guard ) { return ""; # omit processing of escaped characters - } else if ( line ~ /^\\[]\\`\*_\{\}\(\)#\+-\.![]/) { - return substr(line, 2, 1) inline( substr(line, 3) ); + } else if ( line ~ /^\\./) { + return HTML(substr(line, 2, 1)) inline( substr(line, 3) ); # hard brakes } else if ( match(line, /^ \n/) ) {