Pull requests

#76 Merged
Repository
jonwaltman jonwaltman
Branch
stable
Repository
birkenfeld birkenfeld
Branch
stable

Fix handling of section headings in "only" directives (Issue #886)

Author
  1. Jon Waltman
Reviewers
Description

The current handling of section headings in "only" directives only works when the headings are either at or below the current level in the document. I have added a test that demonstrates the problem.

The additional changes correct this issue, allowing you to use headings that are higher than the current heading.

I updated the documentation of the "only" directive since the "Note" about not handling section headings at the same level of the main document heading would no longer needed.

Comments (1)