HTML
<text x="457.87" y="334.21" style="fill: rgba(0,0,0,1);">Analyst</text>
Reg Exp for RGBA
<regexp name="rgbaCode"
value="rgba\\(([1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5]),([1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5]),([1]?[0-9]{1,2}|2[0-4][0-9]|25[0-5]),(0|1|(0.[0-9]+))\\)" />
config.xml
<property name="fill" >
<regexp-list>
<regexp name="rgbaCode" />
</regexp-list>
</property>
With this set up, fill
CSS property is getting removed from the clean HTML. I want AntiSamy should retain rgba values in the clean HTML.
I have tested the regular expression and it works well. Even I changed the regulaer expression to accept anything (.*), but that too did not work for me.
I am clue less. Where am I going wrong?