You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2012/02/25 15:35:03 UTC

[jira] (DOXIASITETOOLS-59) Using a relative path to an image in a generates a wrong "src" value for HTML tag

     [ https://jira.codehaus.org/browse/DOXIASITETOOLS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated DOXIASITETOOLS-59:
------------------------------------------

    Fix Version/s:     (was: 1.2.1)
                   1.3
    
> Using a relative path to an image in a <poweredBy><logo> generates a wrong "src" value for HTML <img> tag 
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DOXIASITETOOLS-59
>                 URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-59
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>    Affects Versions: 1.2
>            Reporter: Juien Enoch
>            Assignee: Lukas Theussl
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: default-site.patch, site.vm
>
>
> This happens only when a <bannerLeft> or <bannerRight> is also used.
> Then the logo image becomes the same than the banner image.
> (see attached site.xml)
> This problem comes from default-site.vm in poweredByLOgo macro:
> in calculation of relative path of $img code is following
>      #set ( $img = $src.replaceAll( '\\', '/' ) )
> But should be following
>      #set ( $img = $img.replaceAll( '\\', '/' ) )
>   
> Please see proposed patch in attachment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira