[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
htmlfix problem
- From: nospam@thanx (Tetsuya Furukawa)
- Date: Tue, 20 Jan 1998 21:02:25 +0900
Package: wml-1.5.1
Problem:
% echo '<I>foo=bar</I>' | wml
<I>foo="bar</I">
To-Fix:
--- wml_p7_htmlfix/htmlfix.src.orig Tue Jan 20 20:26:07 1998
+++ wml_p7_htmlfix/htmlfix.src Tue Jan 20 20:43:10 1998
@@ -197,7 +197,7 @@
#
$bufferN = '';
while (($prolog, $tag, $epilog) =
- ($buffer =~ m|^(.*?)(<[a-zA-Z_][a-zA-Z0-9-_]*.+?>)(.*)$|s)) {
+ ($buffer =~ m|^(.*?)(<[a-zA-Z_][a-zA-Z0-9-_]*.*?>)(.*)$|s)) {
$tag =~ s|([A-Za-z_-]+=)([^\s\f\"\'>]+)([\s\n>])|$1"$2"$3|isg;
$tag =~ s|([A-Za-z_-]+=")([0-9A-Fa-f]{6}"[\s\n>])|$1#$2|sg;
$bufferN .= $prolog.$tag;
--
Tetsuya FURUKAWA
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com