James Raynor created SLING-10646:
------------------------------------
Summary: Text component is not compatible with quotation marks
Key: SLING-10646
URL: https://issues.apache.org/jira/browse/SLING-10646
Project: Sling
Issue Type: Bug
Components: App CMS
Affects Versions: App CMS 1.0.2
Reporter: James Raynor
Attachments: 1.png
Steps to reproduce:
1.Edit /content/apache/sling-apache-org/index
Go to
http://localhost:8080/cms/page/edit.html/content/apache/sling-apache-org/index
2.Add "Call to Action" component
Add the following content:
Text:
hello "ok"
CTA Link:
/
Save
Then edit the component again, the "ok" is missing.
Then add the following:
Text:
H<sub style="vertical-align: sub;">2</sub>O
Open it again and it becomes H<sub style=
My front-end friend set up site-wide CSS as follows, adding the chemical H₂O
here can only use <sub style="vertical-align: sub;"></sub> for now, I found
that the text component doesn't seem to support quotes, the repeating component
also has this problem, the textarea component tested fine.
sup {
vertical-align: text-top;
}
sub {
vertical-align: text-bottom;
}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)