Initial re-nesting mechanism for single isolated headings (#69)
Remove unnecessary variable
Regression test fixes for new behaviour in #69