all repos — cgit @ 69061b9ea548953d77ac7f022af18ca5d72af6af

a hyperfast web frontend for git written in c

filters/html-converters/txt2html (view raw)

1#!/bin/sh
2echo "<pre>"
3sed "s|&|\\&amp;|g;s|'|\\&apos;|g;s|\"|\\&quot;|g;s|<|\\&lt;|g;s|>|\\&gt;|g"
4echo "</pre>"