https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-10-19T05:52:28ZRedmineRedmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=215312010-10-19T05:52:28ZMike Stupalov
<ul></ul><p>In my best option would be to leave redcloth3 (as light textile parser), and redcloth4 add as plug-in.</p>
<p>For Windows, can simply include precompiled gem?</p>
<blockquote>
<p>does anyone know good alternatives to redcloth?</p>
</blockquote>
<p>For textile format i know only 2 implementation: redcloth & <a class="external" href="http://textile.thresholdstate.com/">http://textile.thresholdstate.com/</a></p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=225202010-11-17T19:03:22ZFrank Schwarz
<ul></ul><p>Windows uses can get precompiled RedCloth 4 this way:</p>
<p><code>gem install RedCloth --platform=x86-mswin32-60</code></p>
<p>I applied the <code>basic_redcloth4_support.diff</code> but unfortunately code highlighting stops to work then (<a class="external" href="https://redmine.buschmais.com/help/wiki_syntax_detailed.html#13">https://redmine.buschmais.com/help/wiki_syntax_detailed.html#13</a>)</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=244422011-01-25T12:18:27ZBrett Patterson
<ul></ul><p>Both versions of RedCloth (3 and 4) suffer some sort of XSS vulnerability; however, there are work arounds which we could put in place to remove such attacks. It deals with the use of :filter_html and white_list to allow only the HTML that RedCloth/Textile generates.</p>
<p>Perhaps we can rework the implementation to actually utilize asane sanitization method and get back to using the full power of RedCloth instead of this disabled version.</p>
<strong>References</strong>:
<ul>
<li><a href="http://guides.rubyonrails.org/security.html" class="external">Ruby on Rails Guide - Security</a> See ยง 8.15</li>
<li><a href="http://www.rorsecurity.info/2007/08/20/redcloth-security-thoughts/" class="external">RoR Security Project - RedCloth</a></li>
</ul> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=244552011-01-25T17:19:01ZEtienne Massip
<ul></ul><p>There is a pure-ruby version since 4.2.0 but its use is discouraged by its author himself :</p>
<p>Excerpt from <a class="external" href="https://github.com/jgarber/redcloth/blob/master/CHANGELOG">https://github.com/jgarber/redcloth/blob/master/CHANGELOG</a> :</p>
<pre>Added a pure-ruby version of the parser for times when you can't compile the C or Java extensions. You should avoid using it if at all possible because it is 32 times slower (and has some other problems, too)! [Jason Garber]</pre> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=278482011-04-12T22:36:52ZLing Li
<ul></ul><p>It seems that the support for definition list (DL) was added between RedCloth 3.x and 4.x, together with a bunch other improvements. I hope Redmine can add RedCloth 4 support in the next release.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=379602012-05-05T10:00:28ZAlexander Oryol
<ul></ul><p>RedCloth 4 is very desired feature.<br />up!</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=388722012-06-09T17:47:52ZAidin Abedi
<ul></ul><p>+1</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=449252013-01-24T16:44:57ZAdam Clark
<ul></ul><p>Adding another upvote -- in addition to the new features, RedCloth 4 also has a detailed reference manual (<a class="external" href="http://redcloth.org/textile/">http://redcloth.org/textile/</a>). Having spent many hours trying to figure out (and document for my users) which Textile features Redmine supports, I would really appreciate being able to point to something like this.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=449402013-01-25T10:17:44ZEtienne Massip
<ul></ul><p>I'm personally waiting for <a class="external" href="https://github.com/jgarber/redcloth-parslet">https://github.com/jgarber/redcloth-parslet</a> because switching to RC4 would bring some important performance drop.</p>
<p>Upgrading would be a challenge whichever RC version we would upgrade to because of the current mix between original and Redmine specific code.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=449532013-01-25T13:51:09ZJean-Baptiste Barth
<ul></ul><p>Hooking in RedCloth4 is also challenging. I should have updated the issue before, but Redmine specific code to handle shortcuts (issues, commit, docs, etc.), "toc", "include" or macros isn't as easy to integrate in the native version.</p>
<p><a class="user active" href="https://www.redmine.org/users/389146">Adam Ross</a> Clark: sure RedCloth doc is pretty complete, but Redmine one is accessible and should do the trick for 99% users. See "?" button in every area, which should open <a href="http://www.redmine.org/help/wiki_syntax.html" class="external">a little box</a> and optionnally <a href="http://www.redmine.org/help/wiki_syntax_detailed.html" class="external">the full page</a> ; we're open to ideas to improve this doc, tell us if things are missing, if you have criticism about the structure etc. You can open a new ticket for that if you want.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=489232013-04-26T01:04:42ZAdam Clark
<ul></ul><blockquote>
<p><a class="user active" href="https://www.redmine.org/users/389146">Adam Ross</a> Clark: sure RedCloth doc is pretty complete, but Redmine one is accessible and should do the trick for 99% users.</p>
</blockquote>
<p>I think it does the trick for 99% of the <em>time</em>, but in the end almost every <em>user</em> is going to hit a 1% edge case at some point. I don't think it's sensible for Redmine to include exhaustive documentation of Textile, but the fact that there are some excellent Textile docs out there, which are rendered more frustrating than helpful by the fact that large chunks of their content is unusable in Redmine, sort of highlights how far behind the curve the current implementation is.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=525432013-10-14T07:14:37ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-8 priority-4 priority-default" href="/issues/14038">Defect #14038</a>: Ordered/unordered lists inside table cell are mangled</i> added</li></ul> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=531522013-11-15T15:54:08ZGergely Nagy
<ul></ul><p>+1 Definition list support would be really nice</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=552872014-03-12T10:11:48ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/16149">Defect #16149</a>: Textile within-word markup doesn't work</i> added</li></ul> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=627512015-04-03T01:38:42ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/6796">Defect #6796</a>: Long Description Causes 100% CPU on Windows</i> added</li></ul> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=651462015-07-28T23:51:05ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/20425">Defect #20425</a>: fn1. not working in tickets</i> added</li></ul> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=680642015-12-21T14:00:15ZAnton Statutov
<ul></ul><p>+1</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=702182016-04-08T10:47:01ZNils Grimm
<ul></ul><p>+1, please Upgrade soon.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=710872016-05-24T19:25:56ZJake Kemme
<ul></ul><p>Since it looks like there's been no movement on this in 5 years, I've created an initial plugin release that adds a 'Redcloth 4' text formatting option to redmine.</p>
<p><a href="http://www.redmine.org/plugins/redmine_redcloth" class="external">Redmine Redcloth Plugin</a></p>
<p>Feel free to try it out. I have not tested all possible renderings in the initial release. I've developed it against redmine 3.1 / 3.2, though it may work with other versions.</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=729412016-08-24T09:37:00ZJW Fuchs
<ul></ul><p>+1</p> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=879152018-10-09T07:14:16ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/29746">Defect #29746</a>: Unexpected results with enumeration formatting in Textile</i> added</li></ul> Redmine - Feature #6269: RedCloth 4 supporthttps://www.redmine.org/issues/6269?journal_id=1011582021-03-01T08:13:43ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/20511">Feature #20511</a>: Comments for Textile text formatting</i> added</li></ul>