Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.60
    • 1.20
    • None
    • Unknown
    • Pull Request accepted

    Description

      Right now XWiki displays the view using HTML5 but CK uses XHTML 1.0. This can lead to differences in the display since HTML5 elements are ignore in XHTML 1.0. See attached screenshots for the following example:

      {{html clean="false"}}
      <figure>
        <img src="http://html5doctor.com/wp-content/uploads/2010/03/macaque.jpg" alt="The Pulpit Rock">
        <figcaption>A cheeky macaque, Lower Kintaganban River, Borneo. Original by <a href="http://www.flickr.com/photos/rclark/">Richard Clark</a></figcaption>
      </figure>
      {{/html}}
      

      (I applied some custom CSS to show the difference - Note that it's possible that CK doesn't use the page's CSS so the example might be moot on the visual aspect difference in this case but the issue still stands - In this case the browser simply ignores the figure and figcaption tags).

      See also https://dev.ckeditor.com/ticket/9457

      Attachments

        1. edit.png
          edit.png
          1.07 MB
        2. view.png
          view.png
          516 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: