From: Jan Szejko Date: Thu, 4 Jan 2018 16:03:26 +0000 (+0100) Subject: exclude new curriculum from substitutions X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/935dcf2282ee3c08f776e221bc71f9a0744cb85e?hp=1ef7c1807a866e5d8fb99238499be4ea240dceae exclude new curriculum from substitutions --- 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"), ] )