mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-04 13:18:00 +02:00
Implement Pixels attribute definition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@169 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -35,6 +35,10 @@ class HTMLPurifier_Config
|
||||
// at all.
|
||||
var $attr_lang_alpha = false;
|
||||
|
||||
// max amount of pixels allowed to be specified
|
||||
var $attr_pixels_hmax = 600; // horizontal context
|
||||
var $attr_pixels_vmax = 1200; // vertical context
|
||||
|
||||
function createDefault() {
|
||||
$config = new HTMLPurifier_Config();
|
||||
return $config;
|
||||
|
Reference in New Issue
Block a user