From: Paul Hänsch Date: Tue, 10 Dec 2019 00:13:15 +0000 (+0100) Subject: Squashed 'cgilite/' changes from 84e1d69..fa0f919 X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=72a09b93c234933c5550aa4848d6111ddf40be8f;p=lobster Squashed 'cgilite/' changes from 84e1d69..fa0f919 fa0f919 dot termination done right (fix bug from last commit) git-subtree-dir: cgilite git-subtree-split: fa0f919ac698e41bc6376028a96aa1a361c82216 --- 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;