
RedCloth ignore carets
Reported by Cyril Ruel | September 1st, 2009 @ 04:07 AM
Hi,
I use RedCloth 4.2.2 and I tried to superscript a phrase like this:
aux XVIII^e^ et XIX^e^ siècles
But it doesn't work. RedCloth doesn't replace carets by sup
tags. So I get:
<p>aux XVIII^e^ et XIX^e^ siècles</p>.
Comments and changes to this ticket
-
Jason Garber March 1st, 2010 @ 09:28 AM
- State changed from new to invalid
Carets (nor any other inline markup) aren't recognized unless they surround a complete word or words. You can force it with square brackets.
aux XVIII[^e^] et XIX[^e^] siècles
<p>aux <span class="caps">XVIII</span><sup>e</sup> et <span class="caps">XIX</span><sup>e</sup> siècles</p>
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RedCloth is a Ruby library for converting Textile into HTML