diff abcfield.py @ 725:f9a554e858f3

Provide quoting for single and double quotes. Stop them mucking up HTML quoting by substituting with entities.
author Jim Hague <jim.hague@acm.org>
date Wed, 11 Oct 2017 17:03:29 +0100
parents f8ab14cc9d8d
children 833e6185b6a2
line wrap: on
line diff
--- a/abcfield.py	Wed Oct 11 16:18:13 2017 +0100
+++ b/abcfield.py	Wed Oct 11 17:03:29 2017 +0100
@@ -100,6 +100,10 @@
     "AE" : ("&AElig;", "\\AE"),
     "ae" : ("&aelig;", "\\ae"),
     "ss" : ("&szlig;", "\\ss"),
+
+    # Quote marks
+    "''" : ("&apos;", "'"),
+    "'\"" : ("&quot;", "\""),
 }
 
 abckeys = {