From: Petter Reinholdtsen Date: Sun, 4 Feb 2018 20:03:54 +0000 (+0100) Subject: Add code to remote title from dedication in XML. X-Git-Tag: es-printed~510 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/bc577703e7f0fb0d0a9588d187ef0f867cf3cd74 Add code to remote title from dedication in XML. --- diff --git a/fixup-docbook.rb b/fixup-docbook.rb index 8fc325b..9accbb3 100755 --- a/fixup-docbook.rb +++ b/fixup-docbook.rb @@ -66,6 +66,9 @@ if s end end +log 0, 'remove title from dedication' +xml.css('dedication title')[0].content = "" + log 0, 'Writing processed file' # Unable to figure out API way to replace DOCTYPE data = xml.to_xml().gsub!(/DOCTYPE article/, 'DOCTYPE book')