redmine_markdown_extra_formatter
redmine_markdown_extra_formatter copied to clipboard
toc macro not working
I'm trying to use the {{toc}} macro in Redmine 1.0.1 with the latest version of the plugin, but am getting the following in my page:
Error executing the toc macro (undefined method `call' for nil:NilClass)
There doesn't appear to be anything else in my logs to help debug this further. Any ideas on what may be wrong?
use single {}'s
Update: use "{>toc}".
5ef6a84a948e572e5e03b1887c756f29ebd00404 will fix the problem. It works on Redmine 1.1.2.
Although the patch above will work fine with Redmine after edavis10/redmine@2ad8242ae782ea9d87a0d98f8563199da736bdc7, it might not work with older versions.
So I committed b4db3ef809c7957a14e379826aa666b074f59507 that may work fine with older versions too.