* Denis Barbier <[EMAIL PROTECTED]> [2002-11-04 10:52]: > On Mon, Nov 04, 2002 at 10:21:28AM +0100, Gerfried Fuchs wrote: >> This seems to have been done as feature for xhtml conformance things >> but raises problems in here. > > Indeed, all paths with a trailing slash must be quoted.
Came to that conclusion, too:
>> That way we won't depend on pass 7 to get the quotes
I would rather say we should *avoid* having to depend on pass 7 in
/any/ way, depending on html-fix might go the wrong direction anyway.
It should even be possible to build the site without pass 7 at all, but
that would just be a wish....
>> -<a href=<get-var url/>><get-var urlname/></a>
>> +<a href="<get-var url/>"><get-var urlname/></a>
>
> This is the right fix.
Thanks, then I committed the right thing :)
>> That way we won't depend on pass 7 to get the quotes and avoid this
>> imho unexpectable 'feature'.
>
> I disagree, because
> * <img src=foo.jpg/> ==> <img src="foo.jpg"/>
> * <a href=foo/> ==> <a href="foo/">
>
> There is no way to know whereas trailing slash is part of attributes or
> not.
Beside that wml "doesn't know about html" it might be possible to check
if it would make sense for the tag (which it doesn't for an <a href>
tag). But as I said above pass7 should be avoided wherever possible so
there's no need to invest wasted resources into that (which would reduce
the 40% gain again ,-).
Thanks,
Alfie
--
"This is Linux Country. On a quiet night, you can hear Windows reboot."
-- .sig in <[EMAIL PROTECTED]>
pgpKbicDlzhDg.pgp
Description: PGP signature

