1
0
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:
Edward Z. Yang
2006-08-06 01:03:48 +00:00
parent fdc838c75e
commit a520b5469e
6 changed files with 79 additions and 1 deletions

View File

@@ -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;