You're sure it's the exact same code?

On Saturday, June 15, 2013 10:06:30 PM UTC-4, Alexei Vinidiktov wrote:
>
> Thank you, Anthony. It solves the problem. 
>
> But I don't understand why I'm not seeing the escaping in my other setups. 
>
> On 16.06.2013, at 8:56, Anthony <[email protected] <javascript:>> wrote:
>
> 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] <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 

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