Skip to content

Commit

Permalink
Allow HtmLawed blocked element override
Browse files Browse the repository at this point in the history
  • Loading branch information
linc committed Nov 2, 2012
1 parent 303077d commit 8e5e6b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/HtmLawed/class.htmlawed.plugin.php
Expand Up @@ -36,13 +36,14 @@ public function __construct() {

/// METHODS ///
public function Format($Html) {
$Elements = C('Plugins.HtmLawed.BlockedElements', '*-applet-form-input-textarea-iframe-script-style'); // object, embed allowed
$Config = array(
'anti_link_spam' => array('`.`', ''),
'comment' => 1,
'cdata' => 3,
'css_expression' => 1,
'deny_attribute' => 'on*',
'elements' => '*-applet-form-input-textarea-iframe-script-style', // object, embed allowed
'elements' => $Elements,
'keep_bad' => 0,
'schemes' => 'classid:clsid; href: aim, feed, file, ftp, gopher, http, https, irc, mailto, news, nntp, sftp, ssh, telnet; style: nil; *:file, http, https', // clsid allowed in class
'valid_xhtml' => 0,
Expand Down

0 comments on commit 8e5e6b4

Please sign in to comment.