Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
11.6-rc-1
-
None
-
Unknown
-
Description
When the last element before the changes is an image, the ellipsis marker for expanding the diff isn't displayed.
The following diff, when rendered, triggers this problem after enabling HTML 5 support (see XCOMMONS-2373), it is likely that this can also be triggered with different HTML tags:
{{html}} <figure> <img src="http://localhost:8090/xwiki/bin/download/Sandbox/WebHome/XWikiLogo.png?rev=1.1" alt="XWiki Logo" /> -<figcaption>Hello World</figcaption> +<figcaption>Hello World+!+</figcaption> </figure> {{/html}}
(To reproduce, you need to create two versions with one of the <figcaption>-tags each.)
With the new caption support from XRENDERING-628, it is very likely that this issue is also triggered without the HTML macro (the current draft of it triggers the issue).
The issue is that the :before-selector that is used to display the ellipsis doesn't work on images.