all repos — cgit @ d88ec849c4f7af41a8a41af1a4f79a2b4d41717a

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