tried with https://pypi.python.org/pypi/htmlmin/0.1.5 and worked fine

On Thursday, 27 October 2011 14:59:30 UTC+1, Anthony wrote:
>
> If you have a function that does the compressing, I suppose you could do 
> something like:
>
> def my_action():
>     [some code]
>     d = dict(...)
>     return compress_html(response.render(d))
>
> Anthony
>
> On Thursday, October 27, 2011 9:40:30 AM UTC-4, Marco Tulio wrote:
>>
>> like the uglifier on Ruby?
>>
>> 2011/10/21 Farsheed Ashouri <farsheed...@gmail.com>
>>
>>> Is it possible to compress the output html before rendering out? I mean
>>> using tools like compressors or tiddy to clean/compress the output code
>>> automatically on output not on our source.
>>>
>>>
>>
>>
>> -- 
>> []'s
>> Marco Tulio
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to