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

Check of 'halign' in ImageMacro is missing (maybe a 'copy&paste bug')

    XMLWordPrintable

Details

    Description

      Code in class com.xpn.xwiki.render.macro.ImageMacro:

      Line 89-92

      String halign = params.get("halign", 4);
      if (null == align || align.indexOf("=") != -1) {
        align = null;
      }
      

      The align variable in the if() should probably be halign

      Attachments

        Activity

          People

            vmassol Vincent Massol
            melvng Melv Ng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: