[pmwiki-users] Blocklisting 'href', but allowing '\href'?

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Sun Apr 13 11:43:08 CDT 2008


Hi,

To prevent spam, I wanted to block 'href' and I did it by adding the 
following entry to Site.Blocklist

 	block:/\bhref\b/

This will block 'href' as long as it is not a part of a word, e.g. in

 	<a href=...

which spambots often insert... However, authors of the site (www.lyx.org) 
may sometimes actually want to write '\href', as it's a command in LaTeX. 
So my question is how I can allow '\href', but block 'href'?

Regards,
Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list