mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
feat: Add CSS direction support (#429)
This commit is contained in:
@@ -26,6 +26,11 @@ class HTMLPurifier_CSSDefinition extends HTMLPurifier_Definition
|
||||
false
|
||||
);
|
||||
|
||||
$this->info['direction'] = new HTMLPurifier_AttrDef_Enum(
|
||||
['ltr', 'rtl'],
|
||||
false
|
||||
);
|
||||
|
||||
$border_style =
|
||||
$this->info['border-bottom-style'] =
|
||||
$this->info['border-right-style'] =
|
||||
|
Reference in New Issue
Block a user