diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-27 13:14:32 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-27 13:14:32 +0200 |
commit | 4a788d59984eb47799e08c4242c98014c5a4809f (patch) | |
tree | 125deac26cc1e01f3fe5fd682604ef7254a885a0 | |
parent | 1b71671a2d71c3ea8e39d4603eb8f21043d1f975 (diff) |
compatiblity with browsers: use numeric entity for apos
this entity is XHTML, it is not supported by some (older) browsers.
-rw-r--r-- | sfeed_frames.c | 2 | ||||
-rw-r--r-- | util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c index b7d9c65..e91a236 100644 --- a/sfeed_frames.c +++ b/sfeed_frames.c @@ -64,7 +64,7 @@ printcontentxml(const char *s, FILE *fp) /* XML entities */ 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((int)*s, fp); @@ -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); |