XMLWordPrintableJSON

    Details

      Description

      The decoration model body/head type has changed to string and we can finally get rid of this ugly thing:

       #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
      

      and replace it with

          #if( $decoration.body.head )
            $render.eval( $decoration.body.head )
          #end
      

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              michael-o Michael Osipov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: