Konrad Windszus created MSKINS-250:
--------------------------------------

             Summary: bannerLeft/Right have external link decoration when 
consisting only out of image
                 Key: MSKINS-250
                 URL: https://issues.apache.org/jira/browse/MSKINS-250
             Project: Maven Skins
          Issue Type: Bug
          Components: Fluido Skin
    Affects Versions: fluido-2.0.0-M10
            Reporter: Konrad Windszus


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

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

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

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

With Fluido 2.0.0-M10 and Site Descriptor 2.0:

{code}
<bannerLeft href="https://google.com/";>
        <image src="someimage.png" />
    </bannerLeft>
{code}
it renders as
{code}
<div id="bannerLeft"><h1><a href="https://google.com/"; 
class="externalLink"><img class="imageLink" src="someimage.png" 
/></a></h1></div>
{code}

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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to