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

ImageMacro generates invalid width=" " and height=" "

    XMLWordPrintable

Details

    • radeox image macro

    Description

      Writing a macro such as:

      {image:img.png| |20}

      generates:
      <img src="...img.png" height=" " width="20" alt="img.png"/>
      which breaks xhtml compliance. This can be easily fixed by checking if the width or height parameters are whitespace only.

      Attachments

        Activity

          People

            marta Marta Girdea
            marta Marta Girdea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: