]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - fixup-docbook-translated.rb
Updated web version.
[text-madewithcc.git] / 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