"Fix" ItemOptionalFields.inc.
authorJason Stephenson <jason@sigio.com>
Tue, 9 Dec 2014 01:20:27 +0000 (20:20 -0500)
committerJason Stephenson <jason@sigio.com>
Tue, 9 Dec 2014 01:20:27 +0000 (20:20 -0500)
Because Auto-Graphics has problems with "carriage returns."

Signed-off-by: Jason Stephenson <jason@sigio.com>
templates/includes/ItemOptionalFields.inc

index 8a2f775..662c031 100644 (file)
@@ -3,29 +3,19 @@
 [% IF data.ItemOptionalFields.BibliographicDescription -%]
 <BibliographicDescription>
 [% IF data.ItemOptionalFields.BibliographicDescription.Author -%]
-<Author>
-[% data.ItemOptionalFields.BibliographicDescription.Author | xml %]
-</Author>
+<Author>[% data.ItemOptionalFields.BibliographicDescription.Author | xml %]</Author>
 [% END -%]
 [% IF data.ItemOptionalFields.BibliographicDescription.Title -%]
-<Title>
-[% data.ItemOptionalFields.BibliographicDescription.Title | xml %]
-</Title>
+<Title>[% data.ItemOptionalFields.BibliographicDescription.Title | xml %]</Title>
 [% END -%]
 [% IF data.ItemOptionalFields.BibliographicDescription.Publisher -%]
-<Publisher>
-[% data.ItemOptionalFields.BibliographicDescription.Publisher | xml %]
-</Publisher>
+<Publisher>[% data.ItemOptionalFields.BibliographicDescription.Publisher | xml %]</Publisher>
 [% END -%]
 [% IF data.ItemOptionalFields.BibliographicDescription.PublicationDate -%]
-<PublicationDate>
-[% data.ItemOptionalFields.BibliographicDescription.PublicationDate | xml %]
-</PublicationDate>
+<PublicationDate>[% data.ItemOptionalFields.BibliographicDescription.PublicationDate | xml %]</PublicationDate>
 [% END -%]
 [% IF data.ItemOptionalFields.BibliographicDescription.Edition -%]
-<Edition>
-[% data.ItemOptionalFields.BibliographicDescription.Edition | xml %]
-</Edition>
+<Edition>[% data.ItemOptionalFields.BibliographicDescription.Edition | xml %]</Edition>
 [% END -%]
 [% IF data.ItemOptionalFields.BibliographicDescription.BibliographicRecordId;
       id = data.ItemOptionalFields.BibliographicDescription.BibliographicRecordId -%]