Many filters conflict with this module.
I suggest to change or give an alternative way of specifying the position of a table of contents.
The applied patch changes
to [[TOC]].
See this comment how to integrate this way this module with PEARWiki: http://drupal.org/node/150067#comment-937519.
| Comment | File | Size | Author |
|---|---|---|---|
| tableofcontents.module.diff | 2.69 KB | sibidiba |
Comments
Comment #1
deviantintegral commentedIn the future, please follow the Drupal patch guidelines to create readable patches. Thanks!
The main reason for using the current syntax is that the module can be disabled without affecting existing content. If your token is used, then you would get [[TOC]] in normal content.
<!--tableofcontents-->would be included, but wouldn't be displayed by browsers as it's a valid HTML comment.Why can't you just have this module be processed before PEARWiki by having PEARWiki run after this filter?
--Andrew
Comment #2
deviantintegral commentedI'm marking this as 'by design'. I'm going to be working on a proper Settings page, so perhaps the syntax of the filter could be customized there. If this is still an issue, and my comments in #1 are addressed, please re-open the issue with the new info.
Thanks,
--Andrew