From 4a788d59984eb47799e08c4242c98014c5a4809f Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Thu, 27 Apr 2017 13:14:32 +0200 Subject: compatiblity with browsers: use numeric entity for apos this entity is XHTML, it is not supported by some (older) browsers. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 93f349e..91c5d8c 100644 --- a/util.c +++ b/util.c @@ -231,7 +231,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); -- cgit v1.2.3