You should see the escaping in any environment. To avoid it:

{{=XML("<strong>Some text here</strong>")}}

Anthony

On Saturday, June 15, 2013 9:20:26 PM UTC-4, Alexei Vinidiktov wrote:
>
> Hello,
>
> I'm having a weird encoding problem in views.
>
> If I display html code like this in a view:
>
> {{= "<strong>Some text here</strong>"
> }}
>
> it comes out like this on the resulting page:
>
> &lt;strong&gt;Some text here&lt;/strong&gt;
>
> instead of 
>
> <strong>Some text here</strong>
>
> The problem setup is Ubuntu 13.04 64 bit, Python 2.7.4, web2py 2.5.1, 
> nginx 1.2.6, uwsgi 1.9.12
>
> But it seems to work  fine on my other setups: Windows, Mac, even another 
> Ubuntu version (12.04, 32 bit with Apache and Python 2.7.1). 
>
>
> -- 
> Alexei Vinidiktov 
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to