aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/external/c-testsuite/scripts/htmlescape
diff options
context:
space:
mode:
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='')