compatiblity with browsers: use numeric entity for apos - saait - the most boring static page generator
HTML git clone git://git.codemadness.org/saait
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit ea553ccc2b17673237ae4cecd7b9d840880b5118
DIR parent 7fe442b894d6895be432431e1bc023428ad27394
HTML 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:
M saait.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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);