Skip to content

Commit

Permalink
issue-16 Fixed bulleted and numbered lists too deeply indented
Browse files Browse the repository at this point in the history
  • Loading branch information
fbolton committed Jan 2, 2017
1 parent 189022a commit f79a6db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/docbookrx/docbook_visitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ def after_traverse node, method
else
method_name = method.to_s
case method_name
when "visit_itemizedlist", "visit_orderedlist"
when "visit_itemizedlist", "visit_orderedlist",
"visit_procedure", "visit_substeps", "visit_stepalternatives"
@list_depth -= 1
when "visit_table", "visit_informaltable"
@in_table = false
Expand Down

0 comments on commit f79a6db

Please sign in to comment.