1 message in com.googlegroups.pylons-discussAuto-hyperlink urls ignoring html tags
FromSent OnAttachments
John24 Nov 2006 21:39 
Subject:Auto-hyperlink urls ignoring html tags
From:John (sanm@public.gmane.org)
Date:11/24/2006 09:39:31 PM
List:com.googlegroups.pylons-discuss

Hey

I m trying to auto-hyperlink urls, i found libcia.web.Regextransform.py but the problem is it applies auto hyperlink on html tags for eg <img src="http://www.google.com/a.gif">

becomes *gta* img src=" <a href="http://www.google.com/a.gif" *lt

is there any way to auto-hyperlink on text, ignoring whatever is in html tags ie within < >

http://www.google.com/codesearch?q=auto-hyperlink+lang%3Apython&hl=en&btnG=Search+Code

http://www.google.com/codesearch?hl=en&q=+lang:python+auto-hyperlink+show:uryY9epTPhc:stWj4z9lV24:urqZ0U7CNig&sa=N&cd=1&ct=rc&cs_p=http://svn.navi.cx/misc/trunk&cs_f=cia/LibCIA/Web/RegexTransform.py#a0

Thanks for pointers