PR: MPFAQ-8

fix anchor and href links when spaces are in the ID


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett committed 2004-04-12 22:52:05 +00:00
1 parent 956177e463
commit 04e8177417
2 files changed
+8 -2

No files matched your search

+4 -2
View File
@@ -105,7 +105,8 @@
<x:forEach select="faq">
<li>
<x:element name="a">
<x:attribute name="href">#<x:expr select="@id"/></x:attribute>
<j:set var="_id"><x:expr select="@id"/></j:set>
<x:attribute name="href">#<doc:escapeNameToken value="${_id}"/></x:attribute>
<x:copyOf select="question/node()"/>
</x:element>
</li>
@@ -122,7 +123,8 @@
<dl>
<dt>
<x:element name="a">
<x:attribute name="name"><x:expr select="@id"/></x:attribute>
<j:set var="_id"><x:expr select="@id"/></j:set>
<x:attribute name="name"><doc:escapeNameToken value="${_id}"/></x:attribute>
<x:copyOf select="question/node()"/>
</x:element>
</dt>
+4
View File
@@ -24,6 +24,10 @@
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<release version="1.3-SNAPSHOT" date="in CVS">
<action dev="brett" type="fix" issue="MPFAQ-8">Escape anchor tags and references so spaces can be used in id</action>
</release>
<release version="1.2" date="2004-03-10">
<action dev="epugh" type="fix">Only run when an xdocs directory exists.</action>
<action dev="dion" type="fix">Fix MAVEN-973. xdocs source hardcoded.</action>