summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xht.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/ht.awk b/ht.awk index 45da70e..8bdc3c4 100755 --- a/ht.awk +++ b/ht.awk
@@ -64,7 +64,7 @@ $0 ~ ("^" COMMENT_DELIM) {
64 } else { 64 } else {
65 sep = "\n" 65 sep = "\n"
66 } 66 }
67 gsub(/\\/, "\\\\", $0) 67 # gsub(/\\/, "\\\\", $0)
68 $0 = html_escape($0) 68 $0 = html_escape($0)
69 # Loop through BLOCK_TYPES 69 # Loop through BLOCK_TYPES
70 for (bt in BLOCK_TYPES) { 70 for (bt in BLOCK_TYPES) {
@@ -140,7 +140,6 @@ $0 ~ ("^" COMMENT_DELIM) {
140 } 140 }
141 } 141 }
142 # Escape backslash and ` 142 # Escape backslash and `
143 gsub(/\\/, "\\\\", $0)
144 gsub(/`/, "\\`", $0) 143 gsub(/`/, "\\`", $0)
145 # Push to buffer 144 # Push to buffer
146 bufpush($0, sep) 145 bufpush($0, sep)