From 935dcf2282ee3c08f776e221bc71f9a0744cb85e Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 4 Jan 2018 17:03:26 +0100 Subject: [PATCH 1/1] exclude new curriculum from substitutions --- librarian/pdf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librarian/pdf.py b/librarian/pdf.py index 44ec644..757f168 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -78,6 +78,7 @@ def substitute_hyphens(doc): DCNS("title"), DCNS("description"), DCNS("subject.curriculum"), + DCNS("subject.curriculum.new"), 'www', ] ) @@ -92,6 +93,7 @@ def fix_hanging(doc): DCNS("title"), DCNS("description"), DCNS("subject.curriculum"), + DCNS("subject.curriculum.new"), ] ) -- 2.20.1