src/highlighter.c

changeset 80
0f1c55d2a90a
parent 76
44c7423d6ce2
--- a/src/highlighter.c	Thu Jul 11 19:41:06 2024 +0200
+++ b/src/highlighter.c	Thu Jul 11 20:05:21 2024 +0200
@@ -40,6 +40,8 @@
         cxBufferPutString(dest, ">");
     } else if (c == '<') {
         cxBufferPutString(dest, "&lt;");
+    } else if (c == '&') {
+        cxBufferPutString(dest, "&amp;");
     } else if (c) {
         cxBufferPut(dest, c);
     }

mercurial