import html in Mako:
<%!
from html import HTML
h = HTML()
%>
a test ${str(h.p('hello world!\n'))|n}
On Mon, May 17, 2010 at 10:22 PM, Mario Moura <[email protected]> wrote:
> Hi Folks
>
> I want use html 1.11 from Package Index inside mako. (and anothers
> packages)
>
> Is it possible? how?
>
> http://pypi.python.org/pypi/html
>
> Regards
>
> Mario
> macm
>
> --
> 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]<pylons-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>
--
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.