I’m (still) working on an upgrade from Radiant 0.6.7 to 0.9.1 and I’m
seeing
some markup in pages that rendered fine under the old system but not
under
the new. To cite a specific example:
%(h3)%(carat)›%"Contact Us":../contact-us%
This translates to:
›Contact
Us
The old CMS is allegedly using Textile to process this markup, but this
doesn’t look like Textile that I’ve seen (I was just recently introduced
to
it and I don’t personally use it). Can anyone help me understand what
this
is?
-dan
On Wed, Oct 27, 2010 at 1:56 PM, D.Kreft [email protected] wrote:
is?
-dan
What’s the old CMS? That’s not standard textile.
On Wed, Oct 27, 2010 at 12:56 PM, D.Kreft [email protected] wrote:
I’m (still) working on an upgrade from Radiant 0.6.7 to 0.9.1 and I’m seeing
some markup in pages that rendered fine under the old system but not under
the new. To cite a specific example:
%(h3)%(carat)�%“Contact Us”:…/contact-us%
%(XYZ)abc%
is textile for abc. so the output you get is
correct. but i’ve never seen it nested like that (and testing with the
latest redcloth shows that nesting is not allowed there). perhaps the
old cms had some textile extensions or just a different parser that
supported span class
differently. to replicate it in radiant with
redcloth just replace the outer span.h3 with a real html element:
%(caret)�%“Contact Us”:…/contact-us
On Wed, Oct 27, 2010 at 11:22 AM, Jim G. [email protected] wrote:
What’s the old CMS? That’s not standard textile.
As I stated in my original e-mail, Radiant 0.6.7…which is using
RedCloth
3.0.4.
In redcloth.rb in that version of RedCloth, I’m seeing this:
== Quick Phrase Modifiers
Quick phrase modifiers are also included, to allow formatting
of small portions of text within a paragraph.
_emphasis_
__italicized__
*strong*
**bold**
??citation??
-deleted text-
+inserted text+
^superscript^
~subscript~
# %(classname)span%
QTAGS = [
['**', 'b'],
['*', 'strong'],
['??', 'cite', :limit],
['-', 'del', :limit],
['__', 'i'],
['_', 'em', :limit],
-
['%', 'span', :limit],*
['+', 'ins', :limit],
['^', 'sup'],
['~', 'sub']
]
On Wed, Oct 27, 2010 at 2:31 PM, D.Kreft [email protected] wrote:
On Wed, Oct 27, 2010 at 11:22 AM, Jim G. [email protected] wrote:
What’s the old CMS? That’s not standard textile.
As I stated in my original e-mail, Radiant 0.6.7…which is using RedCloth
3.0.4.
Ah. I feel stupid now, sorry. I’d definitely defer to John M. on
markup parsers.