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
Issue Links
- causes
-
CKEDITOR-442 StylesSet configuration is broken
- Closed
- depends on
-
XRENDERING-630 The annotated HTML5 renderer doesn't render all metadata for macros
- Closed
-
XRENDERING-627 Create a HTML5 parser
- Closed
- is duplicated by
-
CKEDITOR-210 Wysiwyg Editor removes section tags from html and other macros
- Closed
-
CKEDITOR-286 Cannot edit content when using the video macro in WYSIWYG
- Closed
- relates to
-
XRENDERING-509 Add support for HTML5 in the {{html}} Macro
- Closed