commit b8811c6c970b805c82ecd9864df5d1978b9a40c0
parent 8a0fec48e9d7fb619050ca0b7559630201e32b7f
Author: St John Karp <contact@stjo.hn>
Date: Mon, 5 Jul 2021 08:03:08 -0500
Switch clean_title to use unsmart punctuation
We shouldn't be smartening punctuation in Prolog. Let smartypants
do that later.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/parse_entry.pl b/parse_entry.pl
@@ -69,5 +69,5 @@ generate_html(Markdown):-
clean_title(null, null).
clean_title(Title, CleanTitle):-
- replace("<cite>", "“", Title, Title1),
- replace("</cite>", "”", Title1, CleanTitle).
+ replace("<cite>", "\"", Title, Title1),
+ replace("</cite>", "\"", Title1, CleanTitle).