[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

[2.0.3] Bug in wml_p7_htmlfix: Inserts quotes into URL

After upgrading to 2.0.3 I noticed a strange bug in wml_p7_htmlfix,
when processing the following HTML code:

<a href="http://mapweb.parc.xerox.com/map/color=1/features=alltypes/ht=22.48/lat=50.80/lon=7.03/mark=50.80,7.03/wd=45.00">

IMHO htmlfix shouldn't change anything on this code, but since 2.0.3
this is converted to

<a href="http://mapweb.parc.xerox.com/map/color="1"/features="alltypes"/ht="22.48"/lat="50.80"/lon="7.03"/mark="50.80,7.03"/wd=45.00">

It's possible to track this problem down to a simpler case:

$ echo '<a href="http://foo.bar/baz=1/">' | wml -p7
<a href="http://foo.bar/baz="1"/">



 * roland@spinnaker.de * http://www.spinnaker.de/ *
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com