Actions
Feature #974
closedfootnotes wiki markup
Feature #974:
footnotes wiki markup
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Resolution:
Wont fix
Description
Actions
Added by Luca Pireddu over 18 years ago. Updated over 13 years ago.
Description
First of all, Redmine uses RedCloth for all its semantic formatting needs, which is an implementation of Textile.
Textile does indeed support footnotes, using the following syntax:
This is some foo[1].
fn1. And "foo" is related to "bar".
You can verify that indeed Textile supports footnotes (try that text with the link I provided). You can even try it with RedCloth:
RedCloth.new(text).to_html
The trouble is, Redmine extends RedCloth's parsing with its own processing (special links, and a few other extensions).
So, footnotes are not working (incidentally, in my job I'm still using 0.5.1, and it worked then!). Sadly, somewhere between 0.5.1 and 0.7.1.1415 footnotes parsing got broken.
A shame, as I used them frequently.
nachokb
And, ifI might add, you can see Redmine's modifications typing this in the console:
Redmine::WikiFormatting.to_html(a)
nachokb
Textile footnotes now work in r1941.
I like the Dokuwiki syntax, but Redmine uses Textile.
This seems to be partially broken in Redmine 2.0.3.stable.9893 that I am using.
The fn1. gets recognized and gets transformed in to supertext but the reference [1] isn't transformed into a link and left as is.
Dmitry Pashkevich wrote:
This seems to be partially broken in Redmine 2.0.3.stable.9893 that I am using.
The
fn1.gets recognized and gets transformed in to supertext but the reference[1]isn't transformed into a link and left as is.
Works in 2.1, I think that the note reference must be placed right after the word with no space between them.
Etienne Massip wrote:
Dmitry Pashkevich wrote:
This seems to be partially broken in Redmine 2.0.3.stable.9893 that I am using.
The
fn1.gets recognized and gets transformed in to supertext but the reference[1]isn't transformed into a link and left as is.Works in 2.1, I think that the note reference must be placed right after the word with no space between them.
Etienne is right about this. Syntax must be like:
Otherwise this issue is outdated and long fixed. The actual issue regarding broken footnotes parsing was introduced in r1113 and fixed in r1941.