commit ea553ccc2b17673237ae4cecd7b9d840880b5118
parent 7fe442b894d6895be432431e1bc023428ad27394
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 13 May 2017 13:11:24 +0200
compatiblity with browsers: use numeric entity for apos
this entity is XHTML, it is not supported by some (older) browsers.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/saait.c b/saait.c
@@ -28,7 +28,7 @@ xmlencode(const char *s, FILE *fp)
switch(*s) {
case '<': fputs("<", fp); break;
case '>': fputs(">", fp); break;
- case '\'': fputs("'", fp); break;
+ case '\'': fputs("'", fp); break;
case '&': fputs("&", fp); break;
case '"': fputs(""", fp); break;
default: fputc(*s, fp);