Skip to content

Commit

Permalink
better handling of CR in XML; metanorma/metanorma-standoc#43
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jan 28, 2019
1 parent 722ac6c commit 44ef443
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor/iso/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def makexml1(node)
result << noko { |ixml| front node, ixml }
result << noko { |ixml| middle node, ixml }
result << "</iso-standard>"
textcleanup(result.flatten * "\n")
textcleanup(result)
end
end
end
Expand Down
3 changes: 3 additions & 0 deletions lib/asciidoctor/iso/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@
<attribute name="id">
<data type="ID"/>
</attribute>
<optional>
<attribute name="lang"/>
</optional>
<optional>
<ref name="tname"/>
</optional>
Expand Down

0 comments on commit 44ef443

Please sign in to comment.