Skip to content
Snippets Groups Projects
Unverified Commit 855fb2da authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Gestion d'une subtilité de heading rank (#2503)

* Fix rank subtlety

* better
parent 18b73c32
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ module Communication::Block::WithHeadingRanks
def heading_rank_children
return false unless heading_children?
heading_rank_self ? heading_rank_self + 1 : heading_rank_base
title.present? ? heading_rank_self + 1 : heading_rank_self
end
def heading_children?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment