فهرست منبع

Support of text-align in the styles.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4511 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 8 سال پیش
والد
کامیت
aca2b0f5b1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      core/htmlsanitizer.class.inc.php

+ 1 - 1
core/htmlsanitizer.class.inc.php

@@ -191,7 +191,7 @@ class HTMLDOMSanitizer extends HTMLSanitizer
 	);
 	
 	protected static $aStylesWhiteList = array(
-		'background-color', 'color', 'float', 'font', 'font-style', 'font-size', 'font-family', 'padding', 'margin', 'border', 'cellpadding', 'cellspacing', 'bordercolor', 'border-collapse', 'width', 'height',
+		'background-color', 'color', 'float', 'font', 'font-style', 'font-size', 'font-family', 'padding', 'margin', 'border', 'cellpadding', 'cellspacing', 'bordercolor', 'border-collapse', 'width', 'height', 'text-align',
 	);
 
 	public function __construct()