You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/02/10 23:02:18 UTC

[jira] [Created] (DOXIASITETOOLS-155) Change type of decoration model's body/head element to string

Michael Osipov created DOXIASITETOOLS-155:
---------------------------------------------

             Summary: Change type of decoration model's body/head element to string
                 Key: DOXIASITETOOLS-155
                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-155
             Project: Maven Doxia Sitetools
          Issue Type: Improvement
          Components: Decoration model
    Affects Versions: 1.6
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: 1.7


Currently {{DOM}} type is used for {{project/body/head}} which gives us a hard time to render the content in the Velocity templates. Several annoying tricks have been applied in the templates but they are rather ugly. Using a string makes it possible to wrap everything in {{CDATA}}. This is is already done in the {{footer}} element. This might breaks several {{site.xml}} but since we haven't released for a long time, people should carefully read the release notes anyway.



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