added lt, gt, amp back to entity definitions

This commit is contained in:
Guido van Rossum 1995-10-06 15:26:52 +00:00
parent ee3de2a8b5
commit d58364e709
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
# http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_14.html
entitydefs = {
'lt': '<',
'gt': '>',
'amp': '&',
'nbsp': chr(160), # no-break space
'iexcl': chr(161), # inverted exclamation mark
'cent': chr(162), # cent sign