X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=markdown.awk;h=af3d7224657418caa809b5fa6223ce3cc1411224;hp=7d7e0a5f56d5e70b7e0be4d1d104164a5718b13b;hb=628929d8cbd7e2d59dd324f083fddd520c1c6c4d;hpb=2ea88f760e5b796c42e6cd9c2237fc4b26a26e20 diff --git a/markdown.awk b/markdown.awk index 7d7e0a5..af3d722 100755 --- a/markdown.awk +++ b/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/) ) {