alminium/redmine_redcarpet_formatter — Issue #4: Problems using redcarpet_formatter and autohier plugin
Author: evansj-elsstl
Created: 2012-03-08 17:36:13+00:00
State: open

We are experiencing problems using the autohier plugin and the redcarpet_formatter.

Autohier (http://www.redmine.org/plugins/autohier) allows easy creation of parent/child relationships and trees of wiki pages. It uses the '>' character in the page name to denote parent/child. The issue appears when attempting to create a wiki link to a page, the rendered HTML generates '>' in the link.

Example:

Wiki Page 'A' has a child 'B'. Page 'A' has the name 'Page_A' and 'B' has the name 'Page_A>Page_B'.

the {{child_pages}} macro renders this relationship correctly:

Page_A
* Page_B

A wiki link to page A works ([[Page_A]]), generates the link 'http://redmine/project/wiki/Page_A'. However, the markup [[Page_A>Page_B]] renders with the link as 'http://redmine/project/wiki/Page_A>Page_B'. This link does not work, and the link shows up in red on the rendered wiki page.

We have a large library of existing wikis that use autohier and would like to continue using the plugin for its ease of creating trees of pages.