diff options
author | Case Duckworth | 2022-08-26 14:35:54 -0500 |
---|---|---|
committer | Case Duckworth | 2022-08-26 14:35:54 -0500 |
commit | 6bd5fdb13f8ee65e6fb4d86a986d3d5425740b30 (patch) | |
tree | 6d811bc98d702e3897b0f3937830e003160748cb | |
parent | Fix variable persistence (diff) | |
download | ht-6bd5fdb13f8ee65e6fb4d86a986d3d5425740b30.tar.gz ht-6bd5fdb13f8ee65e6fb4d86a986d3d5425740b30.zip |
-rwxr-xr-x | ht.awk | 3 |
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) |