diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-09-24 17:06:45 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-09-24 17:06:45 +0200 |
commit | 13304b7b967c6172cfaa6b31dd4f92348056ed1a (patch) | |
tree | 4c0e56aa2313735a847f529366dee45ee6110a5d /sys/src/cmd/mothra/rdhtml.c | |
parent | 6d6880cec936a13e67e43357538394a5c7f09010 (diff) |
html2ms, tcs, mothra, uhtml: threat ' as special entity, add uhtml(1)
Diffstat (limited to 'sys/src/cmd/mothra/rdhtml.c')
-rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index 121a25589..44ba88c82 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -272,6 +272,8 @@ void pl_rmentities(Hglob *g, char *s){ *t++='>'; else if(strcmp(u, "quot") == 0) *t++='"'; + else if(strcmp(u, "apos") == 0) + *t++='\''; else if(strcmp(u, "amp") == 0) *t++='&'; else { |