summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html.cpp b/src/html.cpp
index 92b4e05..6dd6098 100644
--- a/src/html.cpp
+++ b/src/html.cpp
@@ -10,6 +10,7 @@ void TexoProducerHTML::Put(const Texo &piece)
switch (piece.c) {
case '<': exporter.Put("&lt;"); break;
case '>': exporter.Put("&gt;"); break;
+ case '&': exporter.Put("&amp;"); break;
default: exporter.Put(piece.c); break;
}
}