[issue1504333] sgmllib should allow angle brackets in quoted values
Paul Molodowitch
report at bugs.python.org
Sun Mar 9 06:01:27 CET 2008
Paul Molodowitch added the comment:
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
----------
keywords: +patch
nosy: +barnabas79
Added file: http://bugs.python.org/file9638/sgmllib_2008-03-08.patch
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1504333>
_____________________________________
More information about the Python-bugs-list
mailing list