cropr wrote:
> I don't know if you are using Mako templates, but if you do, you can
> always use the a filter like
> ${ any_python_function() | n}

Thanks, that worked!

Is there a way to make it default behavior?

Regards,
mk


> Ruben
> 
> On Jan 9, 11:04 am, mk <[email protected]> wrote:
>> Hello,
>>
>> Anything that comes out of my helpers in templates is somehow changed by
>> replacing < and > and other characters into &lt; and &gt;, respectively:
>>
>> &lt;a href=&quot;/?title=FrontPage&quot;&gt;FrontPage&lt;/a&gt;
>>
>> I wrote my own webhelper function but even the output of that function
>> is "edited" by Pylons like above somehow. How do I turn that off?
>>
>> I found this thread but it's inconclusive:
>>
>> http://groups.google.com/group/pylons-discuss/browse_thread/thread/00...
>>
>> Sorry for bothering you all with those "teething problems", but frankly
>> the complexity of Pylons is kind of overwhelming when you start working
>> with it..
>>
>> Regards,
>> mk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to