Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-668

Attributes starting with data-xwiki- aren't preserved during XHTML parsing

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      The XHTML parser removes attributes starting with data-xwiki- on all group (<div>) and format-tags (like <strong>, <em> and <span>) even if they aren't recognized as metadata tags. This means that attributes starting with data-xwiki- aren't preserved on syntax resulting in these tags when using the WYSIWYG editor. Instead, those attributes should only be removed when the element is actually recognized as metadata.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: