![]() | ![]() | ![]() |
| about search post article Documentation Mailing Lists Bug Tracking Development Installation Upgrading Download admin rdf main
|
Posted by Chris Withers on Thursday March 22, @06:53PMfrom the now-your-site-is-safe(r) dept. Squishdot 1.0.0 enables you to limit what tags people can include in their postings. This article explains how... Basically, you need to add a property called valid_tags, of type lines to your Squishdot Site object. The updater will do this for you. This needs to contain one html tag per line, in lowercase, and without the angle brackets or /'s. You don't need to include the closing tag, if there is one. These are that tags that won't be stripped from postings to the Squishdot Site. Everything else, along with JavaScript and other nasties will be stripped.
The default tags, if no valid_tags property is present, are b,a,i,br and p allowing you to do: Big thanks to Itamar for providing the bulk of the code to do this :-)
|
|
|
"Any system that depends on reliability is unreliable." -- Nogg's Postulate | |
| All trademarks and copyrights on this page are
owned by their respective companies.
Comments are owned by the Poster.
The Rest ©1999
Butch Landingin, ©2000-2002
Chris Withers.
|
||