alminium / redmine_redcarpet_formatter

Another Markdown Wiki Formatter for Redmine based on Redcarpet markdown processor.
GNU General Public License v2.0
135 stars 38 forks source link

Attachment links with two underscores in file names are not handled properly #40

Open sergtk opened 9 years ago

sergtk commented 9 years ago

I attached file with the name "textsample_under_scores.txt" to Redmine wiki page.

Then I tried to insert link to that file from wiki page with the following markup:

attachment:textsample_under_scores.txt

When I saved wiki page I obtained word "under" in file name italic and no link at all.

If I rename file textsample_under_scores.txt (remove one or two underscores) then link generated correctly.

It looks like file name is formatted according to the markdown syntax but should be preserved unchanged.