[Owasp-antisamy] Allowing style tags in spans

Eric Herbrandson eric at herbrandson.com
Fri Jul 10 12:07:18 EDT 2009


Hello,

 

I've downloaded AntiSamy.Net and have run into a problem. I am using the
default antisamy.xml profile, but I can't seem to get it to allow any
"style" attributes. For example, this 

 

<span style="font-weight: bold;">test</span>

 

.ends up as.

 

<span style="">test</span>

 

How do I allow style attributes?

 

Thanks,

Eric Herbrandson

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-antisamy/attachments/20090710/44f06a1f/attachment.html 


More information about the Owasp-antisamy mailing list