]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added lt, gt, amp back to entity definitions
authorGuido van Rossum <guido@python.org>
Fri, 6 Oct 1995 15:26:52 +0000 (15:26 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 6 Oct 1995 15:26:52 +0000 (15:26 +0000)
Lib/htmlentitydefs.py

index 36ae8df0e70d6be3a82492a7e1f1ecb47e0df89e..09cc19ad49986f8c459cf6043bed4f2fdb46158c 100644 (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