diff options
author | EuAndreh <eu@euandre.org> | 2023-04-10 18:43:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-10 18:43:10 -0300 |
commit | 8a5e1ba89b8df5394c9e46d7149a681cd8f59f88 (patch) | |
tree | e697f3d4fffe11e8b4f5be22a78da7b3b1c21ab3 /bin | |
parent | README.md: Add old file (diff) | |
download | dotfiles-8a5e1ba89b8df5394c9e46d7149a681cd8f59f88.tar.gz dotfiles-8a5e1ba89b8df5394c9e46d7149a681cd8f59f88.tar.xz |
bin/htmlesc: Use "'" over "'"
HTML 5 understands it:
https://html.spec.whatwg.org/multipage/named-characters.html
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/htmlesc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/htmlesc b/bin/htmlesc index c18610d..0e4c75a 100755 --- a/bin/htmlesc +++ b/bin/htmlesc @@ -90,7 +90,7 @@ decode() { -e 's|<|<|g' \ -e 's|>|>|g' \ -e 's|"|"|g' \ - -e "s|'|'|g" + -e "s|'|'|g" } encode() { @@ -99,7 +99,7 @@ encode() { -e 's|<|\<|g' \ -e 's|>|\>|g' \ -e 's|"|\"|g' \ - -e "s|'|\'|g" + -e "s|'|\'|g" } if [ "$DECODE" = true ]; then |