Anees Shaikh <[EMAIL PROTECTED]> writes:
> Hrvoje, you mentioned that you planned to modify the parser to
> handle these tags. Any ideas on timetable?
How about now? :-)
I have created a simple patch that deals with this. However,
preliminary testing indicated a problem with the semantics.
Normally, Wget allows this:
<img src=/foo/bar.gif>
With this patch, this causes the tag to back out (i.e. be proclaimed
invalid) because it expects '/' to be followed by '>'. Of course, I
could make the attribute value swallow everything until whitespace or
'>' and *then* look for a '/', but what about this:
<img src=foo/>
Is the '/' a part of `foo' or does it close the tag?
Is the whitespace preceding the closing '/' mandatory? If so, we can
make it so that the following all differ:
<img src=foo/> # <img src="foo/">
<img src=foo /> # <img src="foo"></img>
<img src=foo/ /> # <img src="foo/"></img>
Any opinions? Advice? Standards-lawyer-speak?