Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item11353: Don't create TOC entries for HTML comments
This isn't a particularly accurate regex for precisely matching HTML comments, but it works for simple comment blocks. Also clean up a duplicate call to takeOutBlocks. It only should be needed once. Added unit test, TOC tests pass.
- Loading branch information
Showing
2 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters