maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MSKINS-124) Update skins when DOXIASITETOOLS-155 has been published
Date Thu, 11 Feb 2016 20:22:18 GMT

     [ https://issues.apache.org/jira/browse/MSKINS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov closed MSKINS-124.
---------------------------------
    Resolution: Fixed

Fixed with [r1729885|http://svn.apache.org/r1729885] for Fluido Skin.

> Update skins when DOXIASITETOOLS-155 has been published
> -------------------------------------------------------
>
>                 Key: MSKINS-124
>                 URL: https://issues.apache.org/jira/browse/MSKINS-124
>             Project: Maven Skins
>          Issue Type: Sub-task
>          Components: Default Skin, Fluido Skin
>    Affects Versions: default-1.1, fluido-1.4
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: default-1.2, fluido-1.5
>
>
> The decoration model body/head type has changed to string and we can finally get rid
of this ugly thing:
> {noformat}
>  #if ( $decoration.body.head )
>       #foreach( $item in $decoration.body.head.getChildren() )
>         ## Workaround for DOXIA-150 due to a non-desired behaviour in p-u
>         ## @see org.codehaus.plexus.util.xml.Xpp3Dom#toString()
>         ## @see org.codehaus.plexus.util.xml.Xpp3Dom#toUnescapedString()
>         #set ( $documentHeader = '<?xml version="1.0" encoding="UTF-8"?>' )
>         #if ( $item.name == "script" )
>           $StringUtils.replace( $item.toUnescapedString(), $documentHeader, "" )
>         #else
>           $StringUtils.replace( $item.toString(), $documentHeader, "" )
>         #end
>       #end
>     #end
> {noformat}
> and replace it with 
> {noformat}
>     #if( $decoration.body.head )
>       $render.eval( $decoration.body.head )
>     #end
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message