Saurabh,

>> {{=user_name}}

will only give:

>> something

in view, without the additional code (span, style etc that you
mentioned).

If it doesn't work for you, please show us the actual code that is not
performing as expected.

On Dec 8, 9:08 pm, Saurabh Kumar <[email protected]> wrote:
> Thanks for you reply.
>
> But my controller is not that simple,
>
> The return statement actually looks like
>
>     return
> dict(lines=lines,channels=channels,staff=staff,current=int(request.args[0]) 
> ,user_name=s.name)
>
> On Dec 8, 5:49 pm, Vinicius Assef <[email protected]> wrote:
>
>
>
>
>
>
>
> > In your controller, just return "something", without the dict().
>
> > [code]
> > return "something"
> > [/code]
>
> > On Thu, Dec 8, 2011 at 10:34 AM, Saurabh Kumar <[email protected]> 
> > wrote:
> > > Hi,
>
> > > I am returning  a dict (user_name="something") from my controller.
>
> > > In my view, I am displaying it using {{=user_name}}
>
> > > It generates an html code like...
>
> > > <span style="color: rgb(30, 30, 30)">something</span>
>
> > > but I am looking for just
>
> > > something
>
> > > Can I modify the output of response.write to achieve this? Is there
> > > some other way to achieve this?
>
> > > Thanks
>
> > > Saurabh

Reply via email to