Re: Help with Filters

2010-05-02 Thread Magal, Ganesh
hey thanks for the website...it helped in solving the problem was with marking the content safe as HTML tags were getting inserted.. the working code is as below: *CODE*: def wikify(value, autoescape=None): result=wikilink.sub(r"\1", value) return mark_safe(result)

Re: Help with Filters

2010-05-02 Thread rebus_
On 3 May 2010 00:46, rebus_ wrote: > On 3 May 2010 00:34, Magal, Ganesh wrote: >> I have created a filter which wikifies (i.e.  input text of the form >> HelloWorld to an output with rendered font like say - HelloWorld ). The >> problem is that when I

Re: Help with Filters

2010-05-02 Thread rebus_
On 3 May 2010 00:34, Magal, Ganesh wrote: > I have created a filter which wikifies (i.e.  input text of the form > HelloWorld to an output with rendered font like say - HelloWorld ). The > problem is that when I apply the filter, it is not getting rendered. Below > is the 

Help with Filters

2010-05-02 Thread Magal, Ganesh
I have created a filter which wikifies (i.e. input text of the form *H*ello *W*orld to an output with rendered font like say - *HelloWorld* ). The problem is that when I apply the filter, it is not getting rendered. Below is the code for the filter and the output text in HTML *CODE:* from