yes. sorry for the typo.

On Nov 14, 9:55 pm, akonsu <ako...@gmail.com> wrote:
> thanks.
>
> did you mean
>
> def index():
>     return re.compile('\s+').sub(' ', response.render(**dict
> (message='test')))
>
> ?
>
> On Nov 14, 7:40 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > I am not quite sure what that plugin does.
>
> > you can do:
>
> > def index():
> >     return re.compile('\s+').sub(' ',render.response
> > ('default.index.html',**dict()))
>
> > It will mess up text in <pre>...</pre>.
>
> > On Nov 14, 2:05 pm, akonsu <ako...@gmail.com> wrote:
>
> > > hello, is there a way to remove whitespaces from generated xhtml
> > > output in a manner similar to django's spaceless tag?
> > > thanks
> > > konstantin
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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