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

#mimetypeimg macro generates invalid HTML

    XMLWordPrintable

Details

    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

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

            Dates

              Created:
              Updated:
              Resolved: