]> git.plutz.net Git - cgilite/commitdiff
handlineg of <select multiple>
authorPaul Hänsch <paul@plutz.net>
Mon, 16 Jul 2018 23:24:49 +0000 (01:24 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 16 Jul 2018 23:24:49 +0000 (01:24 +0200)
html-sh.sed

index d7a757332d50eefb4317a45e360bbf9dad4158ca..d1c70b8cc6ae65ed0083af3b295edd8d47cca16e 100755 (executable)
@@ -48,6 +48,7 @@ t attribs;
 s;(<input ([^>]+ )?type=(radio|"radio"|'radio')( [^>]+)?)>[ \t]*checked;\1 checked="checked">;g;
 s;(<input ([^>]+ )?type=(checkbox|"checkbox"|'checkbox')( [^>]+)?)>[ \t]*checked;\1 checked="checked">;g;
 s;(<option( [^>]+)?)>[ \t]*(checked|selected);\1 selected="selected">;g;
+s;(<select( [^>]+)?)>[ \t]*multiple;\1 multiple="multiple">;g;
 t attribs;
 
 s;(<[^/][^>]*>)[ \t]*;\1;g;