Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25028

RichText field does not accept element with an empty class attribute

    XMLWordPrintable

Details

    Description

      When setting the value of a RichText field, the following document is accepted:

      <section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p>Foo</p></section>
      

      but

      <section xmlns="http://ez.no/namespaces/ezpublish5/xhtml5/edit"><p class="">Foo</p></section>
      

      is not.

      Script to reproduce the issue: https://github.com/dpobel/TestCommandsBundle/blob/master/Command/CreateRichTextEmptyClassCommand.php

      Attachments

        Activity

          People

            Unassigned Unassigned
            damien.pobel-obsolete@ez.no Damien Pobel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: