Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 6330935e80fe36c7b61f7cd0db895f2cd027c472 1 parent b22f1ef
@hannosch hannosch authored
View
4 CHANGES.txt
@@ -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]
View
3  Products/PortalTransforms/transforms/safe_html.py
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.