summaryrefslogtreecommitdiff
path: root/stagit-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c2
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("&lt;", fp); break;
case '>': fputs("&gt;", fp); break;
- case '\'': fputs("&apos;", fp); break;
+ case '\'': fputs("&#39;" , fp); break;
case '&': fputs("&amp;", fp); break;
case '"': fputs("&quot;", fp); break;
default: fputc(*s, fp);