diff --git a/bin/ansi2html b/bin/ansi2html
index 019da3e..0a31ea8 100755
--- a/bin/ansi2html
+++ b/bin/ansi2html
@@ -2,9 +2,9 @@
set -e
ansi2html_sed () {
- sed -e 's|&|&|g' \
- -e 's|<|<|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"