Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If headline text is empty, allow skipping headline
This commit makes the string comparison avoid failure when the title component is nil, (it's not an empty string). This occurs for example when a headline is just a TODO cookie with no later headline text. The two blocks for generating the link properly attempt to skip headlines where there is no 4th title component, so later generation correctly handles the case where an empty link generation would be attempted in the TOC. Note, empty links will not render nor attempt link behavior. Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
- Loading branch information