Fix links getting linified when they shouldn't
This commit is contained in:
@@ -2,7 +2,7 @@ BEGIN { in_code = 0 }
|
||||
/^ | / {
|
||||
if (!in_code) { print "<pre><code>"; in_code = 1 }
|
||||
sub(/^ | /, "", $0)
|
||||
gsub(/&/, "&"); gsub(/</, "<"); gsub(/>/, ">")
|
||||
gsub(/&/, "\\&"); gsub(/</, "\\<"); gsub(/>/, "\\>")
|
||||
print; next
|
||||
}
|
||||
{ if (in_code) { print "</code></pre>"; in_code = 0 } print }
|
||||
|
||||
Reference in New Issue
Block a user