changeset 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 be87f9a027f1
children 833e6185b6a2
files Morris/StepNFetchHer.abc abcfield.py
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Morris/StepNFetchHer.abc	Wed Oct 11 16:18:13 2017 +0100
+++ b/Morris/StepNFetchHer.abc	Wed Oct 11 17:03:29 2017 +0100
@@ -1,5 +1,5 @@
 X:1
-T:Step n' Fetch Her
+T:Step n\'' Fetch Her
 M:4/4
 S:Bacon (RD)
 A:Bampton
--- 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 = {