This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barnabas79
Recipients barnabas79, fdrake, haepal, nnorwitz, rubys
Date 2008-03-09.05:01:21
SpamBayes Score 0.0030487871
Marked as misclassified No
Message-id <1205038886.94.0.906934243592.issue1504333@psf.upfronthosting.co.za>
In-reply-to
Content
Patch for sgmllib.py (and test_sgmllib.py)

Correctly parses quoted attribute - allowing for brackets, newlines, etc
within attributes - implemented by altering the loop which finds
attributes within parse_starttag so it checks for open-ended quotes, and
makes sure any closing brackets it finds are not within quotes

In test_sgmllib, added the test case from the original patch, as well as
re-enabling two other test cases, which both work now
History
Date User Action Args
2008-03-09 05:01:27barnabas79setspambayes_score: 0.00304879 -> 0.0030487871
recipients: + barnabas79, fdrake, nnorwitz, rubys, haepal
2008-03-09 05:01:26barnabas79setspambayes_score: 0.00304879 -> 0.00304879
messageid: <1205038886.94.0.906934243592.issue1504333@psf.upfronthosting.co.za>
2008-03-09 05:01:25barnabas79linkissue1504333 messages
2008-03-09 05:01:25barnabas79create