I do not understand you question.
if
{{=user_name}}
outputs
<span style="color: rgb(30, 30, 30)">something</span>
It is because user_name == '<span style="color: rgb(30, 30,
30)">something</span>'
Is that the case? Do you want to parse the data, remove the tag and
then print it?
It seems wrong to me to store HTML into user name. It could cause XSS.
On Dec 8, 6: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