diff options
Diffstat (limited to '')
-rwxr-xr-x | v2/src/development/genhtml.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/v2/src/development/genhtml.sh b/v2/src/development/genhtml.sh index 3f1bca6..26da89e 100755 --- a/v2/src/development/genhtml.sh +++ b/v2/src/development/genhtml.sh @@ -95,7 +95,7 @@ translate() { } _() { - translate "$1" | html + translate "$1" | htmlesc } SEEN_SLUGS="$(mkstemp)" @@ -139,7 +139,7 @@ extract_plaintext_snippets() { fi if [ -n "$IN_BLOCK" ]; then - printf '%s\n' "$line" | html -d >> "$OUT" + printf '%s\n' "$line" | htmlesc -d >> "$OUT" fi if printf '%s' "$line" | grep -q '^<pre><code.*>'; then @@ -148,7 +148,7 @@ extract_plaintext_snippets() { BLOCK_NUMBER=$((BLOCK_NUMBER + 1)) printf '%s\n' "$line" | sed 's|^\(<pre><code.*>\)\(.*\)$|\2|' | - html -d > "$OUT" + htmlesc -d > "$OUT" fi done < "$F" |