LPS-50380 Fall back to an available display style and prevent XSS