Markdown Extra Formatter bugs
Added by John Koleszar over 15 years ago
Hi,
I've run into a couple bugs with the Markdown Extra Formatter plugin. Wasn't sure where to report them, and I've either patched or hacked around them, so I just figured I'd pass along my experience.
- When using the javascript buttons on the text entry field to enter markup for ordered or unordered lists, any 'r' characters in the highlighted text are removed. Looking at the js, this behavior is obvious, but it's not clear to me what the intended behavior was. I just removed the offending lines. Patch attached.
- Not a bug in this plugin, but in Bluefeather (the gem used for doing the markdown markup). One of the differences between Markdown and Markdown Extra is in the handling of underscore delimited emphasis. See here. In extra, this_should_not_be_emphasized, but Bluefeather does so, which is particularly annoying when dealing with identifiers in code. Patch attached.
- This plugin does not generate correct URLs to the redirect controller when deployed in a sub-url. The relative_url_root from the request is not prepended onto the /redirect URL. I have redmine installed at www.example.com/redmine. I just hacked wiki_formatter.rb to put the /redmine/redirect in there, but it seems like it would be easy to fix properly if you know Rails (I don't.)
With those changes, this plugin seems to work pretty well -- Thanks!!
redmine_mdx_formatter_js_list_bug.diff (802 Bytes) redmine_mdx_formatter_js_list_bug.diff | Patch for text entry bug | ||
bluefeather_underscore_em.diff (1.47 KB) bluefeather_underscore_em.diff | Patch for Bluefeather emphasis bug |
Replies (1)
RE: Markdown Extra Formatter bugs - Added by Mischa The Evil over 15 years ago
John Koleszar wrote:
I've run into a couple bugs with the Markdown Extra Formatter plugin. Wasn't sure where to report them, and I've either patched or hacked around them, so I just figured I'd pass along my experience.
Thanks for posting this feedback to the community. You can try to open a new issue in the ITS of the plugin over at GitHub: http://github.com/juno/redmine_markdown_extra_formatter/issues
More info about the plugin can be found in the dedicated entry of the plugin on the Redmine plugin list.
Kind regards,
Mischa.