]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Fix es build.
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 26 Oct 2020 22:43:54 +0000 (23:43 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Mon, 26 Oct 2020 22:43:54 +0000 (23:43 +0100)
fixup-docbook-translated.rb

index 775fc364959125c80e92664fac2b37ace9bda96b..2d084a9479f7137068af77659478bad125b59b82 100644 (file)
@@ -38,11 +38,11 @@ if 'es' == lang
 
     # Some formatting issues we need to modify
     attrib_text.gsub!(/Paul y Sarah/, 'Paul <?latex \textup{>y<?latex } > Sarah')
-    attrib_text.gsub!(/Merkley (CEO.*)/, 'Merkley <citetitle>\1</citetitle>')
+    attrib_text.gsub!(/Merkley,? (CEO.*)/, 'Merkley <citetitle>\1</citetitle>')
     attrib_text.gsub!(/Wolf (Ins.*)/, 'Wolf <citetitle>\1</citetitle>')
 
     attrib.remove
-    title.after('<blockquote><attribution>%s</attribution></blockquote>' % attrib_text)
+    title.after('<blockquote><attribution>%s</attribution><para/></blockquote>' % attrib_text)
     log 1, 'Moved: %s' % attrib_text
   end
 end