Page MenuHomePhabricator

Pywikibot fails to parse tags correctly when they include whitespace
Closed, ResolvedPublic


In this diff, said 2 threads were archived, while it was in fact 10. Looking into why, I found that the revision contained

</nowiki >

Whitespace after the tag name, while uncommon, is valid XML ( and HTML (, but pywikibot failed to parse it.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, jeblad, Aklapper. · View Herald TranscriptApr 5 2018, 7:43 PM

Change 424385 had a related patch set uploaded (by Danmichaelo; owner: Danmichaelo):
[pywikibot/core@master] Allow whitespace at end of html tags

Xqt closed this task as Resolved.Apr 6 2018, 7:50 AM
Xqt assigned this task to Danmichaelo.
Xqt triaged this task as High priority.

Change 424385 merged by jenkins-bot:
[pywikibot/core@master] Allow whitespace at end of html tags