diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-15 12:56:29 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-04-15 12:56:29 +0200 |
commit | ab3fdd70430912751a9c5d00083a41f3251b6758 (patch) | |
tree | 7a4b568900a98f2d67a56ecd4c132e43ea50e0b9 /stagit-index.c | |
parent | bba55b6bbcf35f9da67593a04d0b3daecbcd07b7 (diff) |
browser compatibility: use numeric entity for '
' is a XHTML entity, browsers such as links, w3m, lynx and dillo
don't support it.
Diffstat (limited to 'stagit-index.c')
-rw-r--r-- | stagit-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stagit-index.c b/stagit-index.c index 067dc30..0a72b33 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -47,7 +47,7 @@ xmlencode(FILE *fp, const char *s, size_t len) 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); |