From e58c8558e970badc00a89cea0a7f25b395f20906 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Mon, 26 Oct 2020 21:51:41 +0100 Subject: [PATCH 1/1] Adjust attribution handling for epub edition. --- fixup-docbook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixup-docbook.rb b/fixup-docbook.rb index a201d9a..1abfc9c 100755 --- a/fixup-docbook.rb +++ b/fixup-docbook.rb @@ -110,7 +110,7 @@ end sect = xml.css(spec)[0] paras = sect.css('para emphasis') auth = '
' - auth += paras.map{|p| p.content}.join('') + auth += paras.map{|p| p.content}.join(', ') auth += '
' sect.last_element_child.after(auth) paras.each {|i| i.parent.remove} # Remove both the 'emphasis' and its parent 'para' -- 2.47.2