Permalink
Browse files

Added `padding-left` to the style whitelist, to let TinyMCE's indent …

…work. This closes http://dev.plone.org/plone/ticket/10557.

svn path=/Products.PortalTransforms/trunk/; revision=12897
  • Loading branch information...
hannosch committed Jul 17, 2010
1 parent b22f1ef commit 6330935e80fe36c7b61f7cd0db895f2cd027c472
Showing with 6 additions and 1 deletion.
  1. +4 −0 CHANGES.txt
  2. +2 −1 Products/PortalTransforms/transforms/safe_html.py
View
@@ -4,6 +4,10 @@ Changelog
2.0.1 - unreleased
------------------
+* Added `padding-left` to the style whitelist, to let TinyMCE's indent work.
+ This closes http://dev.plone.org/plone/ticket/10557.
+ [hannosch]
+
* PEP8 adjustments for the safe_html transform.
[hannosch]
@@ -273,7 +273,8 @@ def __init__(self, name=None, **kwargs):
'lang', 'valign', 'halign', 'border', 'frame', 'rules',
'cellspacing', 'cellpadding', 'bgcolor'],
'stripped_combinations': {'table th td': 'width height'},
- 'style_whitelist': ['text-align', 'list-style-type', 'float'],
+ 'style_whitelist': ['text-align', 'list-style-type', 'float',
+ 'padding-left', ],
'class_blacklist': [],
'remove_javascript': 1,
'disable_transform': 0,

0 comments on commit 6330935

Please sign in to comment.