[
https://issues.apache.org/jira/browse/SLING-11763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684643#comment-17684643
]
Konrad Windszus commented on SLING-11763:
-----------------------------------------
FTR: This also leads to escaping single quotes within style, e.g.
{code}
<style>
:root {
--font-family-basic-secondary:'my font',arial,sans-serif;
...
{code}
> Not all 'style' properties are preserved in the HTML output.
> -------------------------------------------------------------
>
> Key: SLING-11763
> URL: https://issues.apache.org/jira/browse/SLING-11763
> Project: Sling
> Issue Type: Bug
> Components: XSS Protection API
> Affects Versions: XSS Protection API 2.3.0
> Reporter: Tatyana Vogel
> Assignee: Tatyana Vogel
> Priority: Blocker
> Fix For: XSS Protection API 2.3.4
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When trying to add the ‘style’ property ‘text-align: right’ (or center) the
> text will be displayed as left-aligned.
> T{color:#1d1c1d}his is regression compared to the previous version{color}.
> Expected Behavior: Text should be displayed on the right or center like
> decelerated in the ‘style=“text-align:...“’ property.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)