From 6fa71c7efadb990aad14d1c6a7833e9cae88436d Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 6 Apr 2023 16:39:52 +0530 Subject: cgit --- filters/html-converters/txt2html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 filters/html-converters/txt2html (limited to 'filters/html-converters/txt2html') diff --git a/filters/html-converters/txt2html b/filters/html-converters/txt2html new file mode 100755 index 0000000..495eece --- /dev/null +++ b/filters/html-converters/txt2html @@ -0,0 +1,4 @@ +#!/bin/sh +echo "
"
+sed "s|&|\\&|g;s|'|\\'|g;s|\"|\\"|g;s|<|\\<|g;s|>|\\>|g"
+echo "
" -- cgit v1.2.3-59-g8ed1b