https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-06-01T01:24:50ZRedmineRedmine - Defect #1288: Unable to past escaped wiki syntax in an issue descriptionhttps://www.redmine.org/issues/1288?journal_id=30712008-06-01T01:24:50ZJames Byrne
<ul></ul><p>I do not think that this is a textile issue but rather the artifiact of an over-aggressive wiki processor.</p> Redmine - Defect #1288: Unable to past escaped wiki syntax in an issue descriptionhttps://www.redmine.org/issues/1288?journal_id=34072008-06-18T10:30:11ZPaul Rivier
<ul><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li></ul><p>After some more investigations, I now understand what is happening.</p>
Textile syntax does not provide facilities required for Redmine internal references. That is why Jean Philippe needed to extend it to support references to :
<ul>
<li>wiki pages</li>
<li>issues</li>
<li>repository </li>
<li>...</li>
</ul>
<p>The problem is in the way this extension is implemented, namely : successive text substitutions on top of the RedCloth processing.<br />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.</p>
<p>Any plan for that ?</p> Redmine - Defect #1288: Unable to past escaped wiki syntax in an issue descriptionhttps://www.redmine.org/issues/1288?journal_id=75022009-02-20T23:43:09ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Unable to past escaped textile syntax in an issue description</i> to <i>Unable to past escaped wiki syntax in an issue description</i></li></ul> Redmine - Defect #1288: Unable to past escaped wiki syntax in an issue descriptionhttps://www.redmine.org/issues/1288?journal_id=151452010-03-14T21:18:14ZKamil .
<ul></ul><p>+1</p> Redmine - Defect #1288: Unable to past escaped wiki syntax in an issue descriptionhttps://www.redmine.org/issues/1288?journal_id=151572010-03-15T09:11:22ZPaul Rivier
<ul><li><strong>Affected version (unused)</strong> set to <i>devel</i></li></ul><p>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 <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/helpers/application_helper.rb">source:trunk/app/helpers/application_helper.rb</a>. <code>"pre"</code> 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 : <a class="external" href="http://redcloth.org/faq">http://redcloth.org/faq</a> . Maybe that would solve this problem, if you feel like trying.</p> Redmine - Defect #1288: Unable to past escaped wiki syntax in an issue descriptionhttps://www.redmine.org/issues/1288?journal_id=151722010-03-15T20:00:05ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>1.0.0 (RC)</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fixed in <a class="changeset" title="Do not parse redmine links inside pre/code tags (#1288)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3589">r3589</a>. The 2-pass rendering was preversed so we can still cache pass 1 (textile or any other text formatter).</p>