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

#mimetypeimg macro generates invalid HTML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1 M3
    • Fix Version/s: 1.1 M4
    • Labels:
      None
    • Similar issues:

      Description

      What happens is that the mimetypeimg macro is a velocity macro so it gets rendered first like this:

      <img src="$xwiki.getSkinFile("mimetypes/word.png")" alt="[doc]" title="[doc]"/>
      

      Then the Radeox parser executes and thinks [doc] are links and thus generate HTML for links...

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: