I used regular expression to cut down markdown just like that for time being..This needs to be fixed before we make beta release.
How things are built in Pylons? I mean, I use html2text.py written by Aaron for converting html to text format. Is that OK to add html2text.py pylons webhelpers? or webhelpers shall write the code from scratch?. On Apr 23, 10:41 pm, Mike Orr <[email protected]> wrote: > On Thu, Apr 23, 2009 at 6:53 AM, karikrishni <[email protected]> wrote: > > > Thanks.. I have converted to mako => html => to text format. I don't > > know the performance penality. > > There are two tickets to add HTML-to-text and HTML sanitizing to > WebHelpers. The HTML-to-text one has some sample code in the > WebHelpers source distribution (in the unfinished directory). > > http://pylonshq.com/project/pylonshq/ticket/474http://pylonshq.com/project/pylonshq/ticket/458 > > This won't help for converting Markdown, but it will if you have HTML already. > > -- > Mike Orr <[email protected]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
