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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0 B1
    • Labels:
      None
    • keywords:
      radeox image macro
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: