diff --git a/bin/ansi2html b/bin/ansi2html
index 9140cfb..d07678e 100755
--- a/bin/ansi2html
+++ b/bin/ansi2html
@@ -1,6 +1,9 @@
#!/bin/sh
for F; do
- sed -e "s|$(printf '\33\\[0;34m')|<span style=\"color: blue;\">|g" \
+ sed -e 's|&|&|g' \
+ -e 's|<|<|g' \
+ -e 's|>|>|g' \
+ -e "s|$(printf '\33\\[0;34m')|<span style=\"color: blue;\">|g" \
-e "s|$(printf '\33\\[0;35m')|<span style=\"color: purple;\">|g" \
-e "s|$(printf '\33\\[0m')|</span>|g" \
-e 's|$|<br/>|' \