From: Guido van Rossum Date: Fri, 6 Oct 1995 15:26:52 +0000 (+0000) Subject: added lt, gt, amp back to entity definitions X-Git-Tag: v1.3~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d58364e709c9968b6084e8d4a6177c30c6739418;p=thirdparty%2FPython%2Fcpython.git added lt, gt, amp back to entity definitions --- diff --git a/Lib/htmlentitydefs.py b/Lib/htmlentitydefs.py index 36ae8df0e70d..09cc19ad4998 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