mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
added lt, gt, amp back to entity definitions
This commit is contained in:
parent
ee3de2a8b5
commit
d58364e709
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
# http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_14.html
|
# http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_14.html
|
||||||
|
|
||||||
entitydefs = {
|
entitydefs = {
|
||||||
|
'lt': '<',
|
||||||
|
'gt': '>',
|
||||||
|
'amp': '&',
|
||||||
'nbsp': chr(160), # no-break space
|
'nbsp': chr(160), # no-break space
|
||||||
'iexcl': chr(161), # inverted exclamation mark
|
'iexcl': chr(161), # inverted exclamation mark
|
||||||
'cent': chr(162), # cent sign
|
'cent': chr(162), # cent sign
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue