Sitemap: switch off pretty-printing to fix some whitespace problems
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@328722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c2593bcf8
commit
95ab5a8ba5
@ -784,7 +784,7 @@
|
|||||||
stylesheet="${plugin.resources}/sitemap.jsl"
|
stylesheet="${plugin.resources}/sitemap.jsl"
|
||||||
encoding="${maven.docs.outputencoding}"
|
encoding="${maven.docs.outputencoding}"
|
||||||
outputMode="xml"
|
outputMode="xml"
|
||||||
prettyPrint="true" />
|
prettyPrint="false" />
|
||||||
</util:available>
|
</util:available>
|
||||||
|
|
||||||
</goal>
|
</goal>
|
||||||
|
|||||||
@ -81,10 +81,11 @@
|
|||||||
<util:available file="${maven.docs.src}/${xml_link}">
|
<util:available file="${maven.docs.src}/${xml_link}">
|
||||||
<util:file var="xmlfile" name="${maven.docs.src}/${xml_link}"/>
|
<util:file var="xmlfile" name="${maven.docs.src}/${xml_link}"/>
|
||||||
<x:parse var="inputdoc" xml="${xmlfile}"/>
|
<x:parse var="inputdoc" xml="${xmlfile}"/>
|
||||||
<x:set
|
<x:if select="$inputdoc//meta[@name = 'description']/@content">
|
||||||
var="description"
|
<j:set var="description">
|
||||||
select="$inputdoc//meta[@name = 'description']/@content"
|
[<x:expr select="string($inputdoc//meta[@name = 'description']/@content)"/>]
|
||||||
asString="true"/>
|
</j:set>
|
||||||
|
</x:if>
|
||||||
</util:available>
|
</util:available>
|
||||||
<j:set var="collapse"><x:expr select="@collapse"/></j:set>
|
<j:set var="collapse"><x:expr select="@collapse"/></j:set>
|
||||||
<j:choose>
|
<j:choose>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user