Unable to past escaped wiki syntax in an issue description
|Assignee:||Jean-Philippe Lang||% Done:|
|Target version:||1.0.0 (RC)|
pre> tag, but it does not escape some syntax :
[links]] in brackets
- probably some more ...
Is there a way to have truely verbatim print of a section, in textile ?
#2 Updated by Paul Rivier over 9 years ago
- Assignee set to Jean-Philippe Lang
After some more investigations, I now understand what is happening.Textile syntax does not provide facilities required for Redmine internal references. That is why Jean Philippe needed to extend it to support references to :
- wiki pages
The problem is in the way this extension is implemented, namely : successive text substitutions on top of the RedCloth processing.
I don't know how easy it would be to migrate this processing to an extension of the RedCloth processing, but I think it will be required sometime.
Any plan for that ?
#5 Updated by Paul Rivier over 7 years ago
- Affected version (unused) set to devel
actually, html rendering is a 2 stages operation in redmine. First, input is fed to plain textile engine RedCloth, then output is fed to redmine rules, written in source:trunk/app/helpers/application_helper.rb.
"pre" is only meaningful in stage 1, so redmine links can't be escaped that way. RedCloth site says it provides facilities to extend the syntax : http://redcloth.org/faq . Maybe that would solve this problem, if you feel like trying.