[ https://issues.apache.org/jira/browse/MSKINS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143339#comment-15143339 ]
Michael Osipov commented on MSKINS-124: --------------------------------------- Fixed with [r1729882|http://svn.apache.org/r1729882] for Default 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)