Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10646

Text component is not compatible with quotation marks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • App CMS 1.0.2
    • App CMS 1.1.0
    • App CMS
    • None

    Description

      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; }

      Attachments

        1. 1.png
          27 kB
          James Raynor

        Activity

          People

            dklco Dan Klco
            James.R James Raynor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: