I found BeautifulSoup to do it.

On Jul 3, 9:51 am, dlypka <dly...@gmail.com> wrote:
> If I load some raw HTML into  eamy or a simple TEXTAREA, I need to
> have it pretty-printed first, to avoid the long lines which mess up
> the display.
> I see there are various python libaries to do this.
>
> But does web2py already have such a function somewhere? I see the CODE
> widget, but it does coloring but I don't see it doing a pretty-print.
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to