[Owasp-antisamy] text-align in p tag?

Paul Curren pcurren at atlassian.com
Wed Jul 21 11:38:42 EDT 2010


Hi there.

You should update your policy file to have something like -

		<tag name="p" action="validate">
			<attribute name="align"/>
                        <attribute name="style"/>
		</tag>

- and I imagine that will do the trick.

Cheers,

Paul C


On 21/07/2010, at 4:28 PM, Me Self wrote:

> Im using antisamy 1.4.1 to filter input from tinymce. The tinymce
> justify buttons set the style sheet attribute of the p tag to
> "text-align: x" . Is there any way to permit this in antisamy?
> Currently the attribute is just being removed. This is what my config
> says about p tags:
> 
> 		<tag name="p" action="validate">
> 			<attribute name="align" />
> 		</tag>
> _______________________________________________
> Owasp-antisamy mailing list
> Owasp-antisamy at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-antisamy



More information about the Owasp-antisamy mailing list