diff options
author | Guido van Rossum <guido@python.org> | 1995-10-06 15:26:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-10-06 15:26:52 (GMT) |
commit | d58364e709c9968b6084e8d4a6177c30c6739418 (patch) | |
tree | a16a538f1aeeb5d372eda64543ba2302cea682d9 /Lib | |
parent | ee3de2a8b5cbf94c7aa2e8f6405dd6e4627d2cbf (diff) | |
download | cpython-d58364e709c9968b6084e8d4a6177c30c6739418.zip cpython-d58364e709c9968b6084e8d4a6177c30c6739418.tar.gz cpython-d58364e709c9968b6084e8d4a6177c30c6739418.tar.bz2 |
added lt, gt, amp back to entity definitions
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/htmlentitydefs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/htmlentitydefs.py b/Lib/htmlentitydefs.py index 36ae8df..09cc19a 100644 --- a/Lib/htmlentitydefs.py +++ b/Lib/htmlentitydefs.py @@ -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 |