Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
AntiSamy sanitizer - add support for "ol[start]"
Hello,
It would be nice to add support for "start" attribute
within "ol" tag:
https://www.w3schools.com/tags/tag_ol.asp
There is support only for "type" attribute:
https://github.com/liferay/liferay-portal/blob/master/modules/apps/portal-security/portal-security-antisamy/src/main/resources/META-INF/resources/sanitizer-configuration.xml#L815
Now we have to make an override for "com.liferay.portal.security.antisamy.jar", but if it is a standard HTML5 attribute - why it is not added by default?
Thanks,
Best Regards,
Václav
Hi Václav,
I can only guess. I think it may have been left out because the start attribute of the ol tag was being deprecated for a while before it was brought back.
Watch https://liferay.atlassian.net/browse/LPD-21192.
Regards,
Zsigmond
Thank you, Zsigmond.
Hi Václav,
In the meantime, we decided to handle this as a bug: https://liferay.atlassian.net/browse/LPD-21547
Regards,
Zsigmond
It is great. Thank you for your fast response.