Message251654
In the document of HTMLParser.handle_starttag, it states "All entity references from html.entities are replaced in the attribute values." However it will replace the string if it matches ampersand followed by the entity name without the semicolon.
For example <a href="go?t=buy¤cy=usd">foo</a> will produce "t=buy¤cy=usd" as the value of href attribute due to "curren" is the entity name for the currency sign. |
|
Date |
User |
Action |
Args |
2015-09-26 16:46:39 | frogcoder | set | recipients:
+ frogcoder |
2015-09-26 16:46:39 | frogcoder | set | messageid: <1443285999.33.0.0508878437802.issue25239@psf.upfronthosting.co.za> |
2015-09-26 16:46:39 | frogcoder | link | issue25239 messages |
2015-09-26 16:46:39 | frogcoder | create | |
|