all repos — cgit @ 21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d

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>"