Parameter documentation
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 26 Jan 2010 22:38:54 +0000 (15:38 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 26 Jan 2010 22:39:43 +0000 (15:39 -0700)
framework/Text_Filter/lib/Horde/Text/Filter/Xss.php

index 7822f37..ff7d957 100644 (file)
@@ -6,6 +6,20 @@
  * people *KNOW* HTML is a security hole, clean up what we can, and leave it
  * at that.
  *
+ * Filter parameters:
+ * ------------------
+ * <pre>
+ * 'body_only' - (boolean) Only scan within the HTML body tags?
+ *               DEFAULT: true
+ * 'replace' - (string) The string to replace filtered tags with.
+ *             DEFAULT: 'XSSCleaned'
+ * 'strip_styles' - (boolean) Strip style tags?
+ *                  DEFAULT: true
+ * 'strip_style_attributes' - (boolean) Strip style attributes in all HTML
+ *                            tags?
+ *                            DEFAULT: true
+ * </pre>
+ *
  * Copyright 2004-2010 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (LGPL). If you