Can I parse this kind of HTML with arsd.dom module?

Adam D. Ruppe destructionator at gmail.com
Sun Jun 24 16:00:35 UTC 2018


On Sunday, 24 June 2018 at 10:49:51 UTC, Timoses wrote:
>> <a href = "https://hostname.com/?file=foo.png&foo=baa">G!</a>
>> 	</span>
>> </h2>
>> </font>
> missing </body>
>
> Seems to be buggy, the parsed document part refering to "a" 
> looks like this:
>
> <a "https:=""https:" href="href" />G!

It reads href as a no content attribute (like `checked` which 
becomes `checked="checked"` in xhtml style), then ignored the = 
as malplaced trash, then did the same with the https.

so the fix is to collapse whitespace around the =.....


More information about the Digitalmars-d-learn mailing list