OK I found a very simple solution. I created the view file like

echo -n "{{=name}}" > lookup.html

On Wednesday, August 19, 2015 at 10:04:52 AM UTC+2, Raphael Lechner wrote:
>
> Hi,
>
> I have created a small application that will try to lookup for a name from 
> a phonenumber. My problem is that FreeSWITCH(the telephone software) 
> requires that the answer don't contains newlines.
> I have tried with a view that contains only a single line {{=name}} but 
> the answer always contains a newline.
> Is there a way I can suppress the newline?
>
> Thanks,
> Raphael
>

-- 
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