From: Paul Hänsch Date: Tue, 10 Dec 2019 00:12:50 +0000 (+0100) Subject: dot termination done right (fix bug from last commit) X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=fa0f919ac698e41bc6376028a96aa1a361c82216;p=cgilite dot termination done right (fix bug from last commit) --- diff --git a/html-sh.sed b/html-sh.sed index 16aeb9a..8d7b61c 100755 --- a/html-sh.sed +++ b/html-sh.sed @@ -48,7 +48,6 @@ t tagopen; G; h; s;^[^\n]*\n+;;; x; s;\n.*$;;; :attribs -s;(<[^/][^>]*)>[ \t]*\.[ \t];\1>;g; t attEnd; s;class="([^>]+)>[ \t]*\.([^< \t]+);class="\2 \1>;g; t attribs; s;(<[^/][^>]*)>[ \t]*\.([^< \t]+);\1 class="\2">;g; s;(<[^/][^>]*)>[ \t]*#([^< \t]+);\1 id="\2">;g; @@ -59,7 +58,7 @@ s;(]+ )?type=(checkbox|"checkbox"|'checkbox')( [^>]+)?)>[ \t]*(checke s;(]+)?)>[ \t]*(checked|selected);\1 selected="selected">;g; s;(]+)?)>[ \t]*multiple;\1 multiple="multiple">;g; t attribs; -:attEnd +s;(<[^/][^>]*>)[ \t]*\.[ \t];\1;g; s;(<[^/][^>]*>)[ \t]*;\1;g; # s;(<[^/][^>]*)>[ \t]*]+>;\1/>;g;