From: Paul Hänsch Date: Thu, 4 Apr 2019 12:06:51 +0000 (+0200) Subject: do not close non-closing html tags X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=e63a06bdd89bd5c3cb7232f3a5b6bf4a1f51493b;p=clickslide do not close non-closing html tags --- diff --git a/html-sh.sed b/html-sh.sed index 514caaf..cb1c613 100755 --- a/html-sh.sed +++ b/html-sh.sed @@ -52,7 +52,8 @@ s;(]+)?)>[ \t]*multiple;\1 multiple="multiple">;g; t attribs; s;(<[^/][^>]*>)[ \t]*;\1;g; -s;(<[^/][^>]*)>[ \t]*]+>;\1/>;g; +# s;(<[^/][^>]*)>[ \t]*]+>;\1/>;g; +s;(<(br|hr|img|input|link|meta|area|base|col|command|embed|keygen|param|source|track|wbr)[^>]*)>[ \t]*;\1>;g; s;;