diff --git a/webify-gemini.sh b/webify-gemini.sh index 87acd59..72ccd86 100755 --- a/webify-gemini.sh +++ b/webify-gemini.sh @@ -156,6 +156,10 @@ do bullist=0 # Whether or not a bulleted list was just formed } { + # Replace special characters with their HTML equivalents + gsub(//, "\\>") + gsub(/=>/, "=>") # If the line is ```, toggle preformatted text if ($1 == "```") { # The next four lines check if the previous line was part of a