Closed
Description
When using the HtmlPolicyBuilder and especially .allowAttributes(...).globally()
, but I pass empty attributes it returns IndexOutOfBoundException. That is most probably caused by the globally()
method which always tries to get the 0 element which may be passed or may not.
Looking at this I have spotted another bug, which is related to that where the style
attribute could be located anywhere in the list, not as the first element, which currently is expected.
Metadata
Metadata
Assignees
Labels
No labels