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

Images are rendered as links when using xhtml/1.0 or html/4.01 as the storage syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8 RC1
    • 1.7
    • {Unused} Rendering 2.0
    • None
    • any
    • image img link anchor html
    • Unit

    Description

      The following steps reproduce this bug:

      • Create a new page and set its syntax to xhtml/1.0 or html/4.01 (if these syntaxes don't appear in the syntax combo box then you have to add them in xwiki.cfg)
      • Edit this page with the Wiki editor and type:
        foo <img src="http://www.google.ro/intl/en_com/images/logo_plain.png" alt="bar" title="foo" /> bar
        
      • Save and view. The result is:
        <p>foo <!--startwikilink:http://www.google.ro/intl/en_com/images/logo_plain.png-->
          <span class="wikiexternallink">
            <a href="http://www.google.ro/intl/en_com/images/logo_plain.png" title="foo" src="http://www.google.ro/intl/en_com/images/logo_plain.png" alt="bar">
              <span class="wikigeneratedlinkcontent">http://www.google.ro/intl/en_com/images/logo_plain.png</span>
            </a>
          </span><!--stopwikilink--> bar
        </p>
        

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: