[Solar-talk] retain line breaks/newline
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon Aug 7 08:26:00 PDT 2006
On 8/3/06, Antti Holvikari wrote:
> So what I ended up doing was to use Text_Wiki markup and store
> that "as-is" to the db. Then I made a helper to transform that to
> XHTML with Text_Wiki. Works *exactly* as I want.
Antti, you have made me interested in Text_Wiki, and reading about its
capabilities I got even more interested.
I have a trivial question, though (couldn't find an answer in the
docs): do you know if Text_Wiki can convert basic xhtml to wiki
markup? I just need to convert really basic markup: em, i, b, strong,
and href.
And, uh, could share your XHTML-to-Text_Wiki helper? It would help a lot.
thanks,
rodrigo
More information about the solar-talk
mailing list