Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5211

XHTML parser ignores attributes of wikimodel-freestanding images

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.2.6
    • Fix Version/s: 2.3.1, 2.4 M1
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Currently wikimodel-freestanding CSS class has priority over image attributes. As a consequence image attributes are ignored when this class is present. IMO the XHTML parser should check the presence of wikimodel-freestanding class only if the image doesn't have attributes.

      wikimodel-freestanding CSS class is used to distinguish between image:reference and [[image:reference]] (without parameters) so it's useless when the image has parameters (you have to use the [[..]] notation).

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: