summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/htmlentitydefs.py3
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