aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/external/c-testsuite/scripts/htmlescape
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-13 19:21:04 +0100
committerlemon <lsof@mailbox.org>2025-12-13 19:21:04 +0100
commite51ac7ec7d3e32e1771c9f824da3dc7e4dcd2bc5 (patch)
treea0b7a0c29247374b96fdbfb29bc365d15e9e36a5 /test/external/c-testsuite/scripts/htmlescape
parent6c7cdc537b7b341f9ca25a3e8b61de46c99840e7 (diff)
add c-testsuite
Diffstat (limited to 'test/external/c-testsuite/scripts/htmlescape')
-rwxr-xr-xtest/external/c-testsuite/scripts/htmlescape6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/external/c-testsuite/scripts/htmlescape b/test/external/c-testsuite/scripts/htmlescape
new file mode 100755
index 0000000..04e1f97
--- /dev/null
+++ b/test/external/c-testsuite/scripts/htmlescape
@@ -0,0 +1,6 @@
+#! /usr/bin/env python3
+
+import sys, html
+
+for l in sys.stdin:
+ print(html.escape(l), end='')