all repos — cgit @ 62eb8db4527e6803df4a26056db8ab9eaf5a79ba

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