From 13304b7b967c6172cfaa6b31dd4f92348056ed1a Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 24 Sep 2011 17:06:45 +0200 Subject: html2ms, tcs, mothra, uhtml: threat ' as special entity, add uhtml(1) --- sys/src/cmd/html2ms.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/src/cmd/html2ms.c') diff --git a/sys/src/cmd/html2ms.c b/sys/src/cmd/html2ms.c index 9caabe636..770882858 100644 --- a/sys/src/cmd/html2ms.c +++ b/sys/src/cmd/html2ms.c @@ -680,6 +680,8 @@ parserune(int c) return '>'; if(strcmp(buf, "quot") == 0) return '"'; + if(strcmp(buf, "apos") == 0) + return '\''; if(strcmp(buf, "amp") == 0) return '&'; /* use tcs -f html to handle the rest. */ -- cgit v1.2.3