lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.0.5 vs lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.0.5.1

- old
+ new

@@ -172,15 +172,15 @@ end def paragraph(node) return termsource(node) if node.role == "source" - ret = noko do |xml| + noko do |xml| xml.p **para_attrs(node) do |xml_t| xml_t << node.content end - end.join + end.join("\n") end def quote_attrs(node) attr_code(id_attr(node).merge(keep_attrs(node)) .merge(align: node.attr("align"))) @@ -201,10 +201,10 @@ noko do |xml| xml.quote **quote_attrs(node) do |q| quote_attribution(node, q) wrap_in_para(node, q) end - end.join + end.join("\n") end def listing_attrs(node) attr_code(id_attr(node).merge(keep_attrs(node) .merge(lang: node.attr("language"),