asciidoctor / docbookrx

(An early version of) a DocBook to AsciiDoc converter written in Ruby.
MIT License
22 stars 49 forks source link

Fixes for conversion of procedure element #57

Closed fbolton closed 11 months ago

fbolton commented 7 years ago

Fixes a couple of issues around conversion of DocBook procedures. In particular, the code was failing to decrement the list_depth at the end of a procedure, which was messing up the indentation of all subsequent lists. Also, the logic of @continuation in the visit_listitem method needed to take account of procedures properly. Finally, I added an rspec test to validate these fixes for procedure.