list

scripts

Repo containing scripts to be used with dovel, and git hooks that powers our web interface.

curl https://dovel.email/scripts.tar tar

41d1226

Author: brian (git@myr.sh)

Date: Sun Sep 24 23:05:38 2023 -0300

Parent: 2d0aaf8

Fixed escape html

Diff

diff --git a/aux.sh b/aux.sh
index 246b1af..472a08c 100755
--- a/aux.sh
+++ b/aux.sh
@@ -1,5 +1,5 @@
#!/bin/sh

escapehtml() {
-	printf "%s" "$1" | sed -e 's/</&lt;/g' -e 's/>/&gt;/g' -e 's/&/&amp;/g'
+	printf "%s" "$1" | sed -e 's/&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g'
}