lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.0.3 vs lib/metanorma/standoc/blocks.rb in metanorma-standoc-2.0.4

- old
+ new

@@ -172,15 +172,15 @@ end def paragraph(node) return termsource(node) if node.role == "source" - noko do |xml| + ret = noko do |xml| xml.p **para_attrs(node) do |xml_t| xml_t << node.content end - end.join("\n") + end.join 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("\n") + end.join end def listing_attrs(node) attr_code(id_attr(node).merge(keep_attrs(node) .merge(lang: node.attr("language"),