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"
|
||||
encoding="${maven.docs.outputencoding}"
|
||||
outputMode="xml"
|
||||
prettyPrint="true" />
|
||||
prettyPrint="false" />
|
||||
</util:available>
|
||||
|
||||
</goal>
|
||||
|
||||
@ -81,10 +81,11 @@
|
||||
<util:available file="${maven.docs.src}/${xml_link}">
|
||||
<util:file var="xmlfile" name="${maven.docs.src}/${xml_link}"/>
|
||||
<x:parse var="inputdoc" xml="${xmlfile}"/>
|
||||
<x:set
|
||||
var="description"
|
||||
select="$inputdoc//meta[@name = 'description']/@content"
|
||||
asString="true"/>
|
||||
<x:if select="$inputdoc//meta[@name = 'description']/@content">
|
||||
<j:set var="description">
|
||||
[<x:expr select="string($inputdoc//meta[@name = 'description']/@content)"/>]
|
||||
</j:set>
|
||||
</x:if>
|
||||
</util:available>
|
||||
<j:set var="collapse"><x:expr select="@collapse"/></j:set>
|
||||
<j:choose>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user