Array elements are just converted to a string here:
|
Set<String> keys = data[i].getCompositeType().keySet(); |
This should be a fallback, and first data[i] should be passed through AttributeFilter. At the very least, if AttributeFilter returns HtmlContent then this should be rendered instead.