Uploaded image for project: 'Maven Skins'
  1. Maven Skins
  2. MSKINS-250

bannerLeft/Right have external link decoration when consisting only out of image

    XMLWordPrintableJSON

Details

    Description

      I have the following snippet in my site descriptor (v1.8)

      <bannerLeft>
              <name>My Name</name>
              <src>someimage.png</src>
              <href>https://google.com/</href>
      </bannerLeft>
      

      with Fluido 1.12.0 this renders the image only, i.e.

      <div id="banner">
                <div class="pull-left"><a href="https://google.com/" id="bannerLeft"><img src="someimage.png"  alt="My Name" style="" /></a></div>
      

      With Fluido 2.0.0-M10 and Site Descriptor 2.0:

      <bannerLeft href="https://google.com/">
              <image src="someimage.png" />
          </bannerLeft>
      

      it renders as

      <div id="bannerLeft"><h1><a href="https://google.com/" class="externalLink"><img class="imageLink" src="someimage.png" /></a></h1></div>
      

      The class externalLink leads to an additional unwanted decorator next to the image.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: