Skip to content

Commit

Permalink
Merge pull request #1800 from kmuto/close-chapter
Browse files Browse the repository at this point in the history
IDGXML: force closing chapter for preface/postface
  • Loading branch information
kmuto authored Feb 18, 2022
2 parents 17dc600 + 1c5f057 commit 25ff672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/review/idgxmlbuilder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def result
s += '</sect3>' if @subsubsection > 0
s += '</sect2>' if @subsection > 0
s += '</sect>' if @section > 0
s += '</chapter>' if @chapter.number > 0
s += '</chapter>'
end
solve_nest(@output.string) + s + "</#{@rootelement}>\n"
end
Expand Down

0 comments on commit 25ff672

Please sign in to comment.