brett 2004/04/12 15:52:05 Modified: faq plugin.jelly faq/xdocs changes.xml Log: PR: MPFAQ-8 fix anchor and href links when spaces are in the ID Revision Changes Path 1.16 +4 -2 maven-plugins/faq/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven-plugins/faq/plugin.jelly,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- plugin.jelly 4 Mar 2004 18:05:31 -0000 1.15 +++ plugin.jelly 12 Apr 2004 22:52:05 -0000 1.16 @@ -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> 1.9 +4 -0 maven-plugins/faq/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/faq/xdocs/changes.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- changes.xml 10 Mar 2004 11:30:43 -0000 1.8 +++ changes.xml 12 Apr 2004 22:52:05 -0000 1.9 @@ -24,6 +24,10 @@ <author email="[EMAIL PROTECTED]">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>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]