Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-325

Quotes entered into an edit control can break the html code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1
    • 1.0
    • None
    • None

    Description

      If text content is directly used within html code a quote entered by the user breaks the html.
      This is not the case when fckEdit is used, only if edit control is used.

      For example:
      <meta name="keywords" content="${content.keywords}" />
      If the use enters for keywords this: one, two, "best
      The html code breaks.

      Momentary solution in the meta tags:
      <meta name="keywords" content="${content.keywords?html}" />

      A better solution has to be found for all used text's in all templates. Not only the quote is a problem, any html code entered into an edit control is directly rendered.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: