all repos — cgit @ e09574bdf6cfbd21ff0a58a18f34d4a11db824d7

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