The textile support is fairly complete, there are some cases that are not covered though.
If you just want simple bolden, italics etc the sure, TextileParser.toHtml will deal with that for you with no problems. Cheers, Tim On Jan 12, 8:35 am, aw <[email protected]> wrote: > Playing around with the TextileParser code, I am using paraFixer. I > noticed that <b>bold</b> yields bold HTML. Similarly, <em>italic</em> > yields italic HTML. But <strong>bold</strong> does NOT yield bold > HTML... Looks like we need to add some extra tags to the function > isValidTag. I'd like to see tags like <strong>, <i>, and <u> added > for consistency. > > See:http://github.com/dpp/liftweb/blob/master/framework/lift-modules/lift... > > How complete is the Textile support? Is there a wiki page that > describes what is supported? The closest thing I could find was > wikipedia: http://en.wikipedia.org/wiki/Textile_(markup_language) > > I am interested in some basic wiki-markup to HTML translation, like > *bold* and _italic_, but not the more advanced stuff like embedded > images or links to other pages. For security reasons, I am interested > in a layer that escapes offending HTML like <script> or <img> or > something that could be dangerous. Is that what I would get if I > called TextileParser.toHtml(toParse: String, disableLinks: true)?
-- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
