File tree Expand file tree Collapse file tree 6 files changed +822
-1
lines changed Expand file tree Collapse file tree 6 files changed +822
-1
lines changed Original file line number Diff line number Diff line change 70
70
<li class =" - topic/li " >
71
71
<xsl : call-template name =" add-link" >
72
72
<xsl : with-param name =" type" select =" 'topic'" />
73
- <xsl : with-param name =" href" select =" concat('#', . )" />
73
+ <xsl : with-param name =" href" select =" concat('#', encode-for-uri(.) )" />
74
74
<xsl : with-param name =" text" select =" ." />
75
75
</xsl : call-template >
76
76
</li >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
2
+ <!--
3
+ This file is part of the DITA-OT Doxygen Plug-in project.
4
+ See the accompanying LICENSE file for applicable licenses.
5
+ -->
6
+ <project basedir =" ." default =" unit-test" >
7
+ <import file =" ../bootstrap.xml" />
8
+ <description >
9
+ Expect that a class with a templated base class is generated to DITA
10
+ </description >
11
+ <target name =" unit-test" >
12
+ <property name =" file" value =" ${ basedir } /out/templated.xml" />
13
+ <exec-transtype transtype =" dita" />
14
+ <xmltask
15
+ expandEntityReferences =" false"
16
+ dest =" ${ file } "
17
+ outputter =" simple"
18
+ source =" ${ file } "
19
+ >
20
+ <xmlcatalog >
21
+ <dtd publicId =" -//OASIS//DTD DITA Topic//EN" location =" ../fake.dtd" />
22
+ </xmlcatalog >
23
+ </xmltask >
24
+ <compare-output suffix =" .xml" result =" ${ file } " />
25
+ </target >
26
+ </project >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
3
+ <bookmap >
4
+ <appendices >
5
+ <topicmeta >
6
+ <navtitle >Appendices</navtitle >
7
+ </topicmeta >
8
+ <appendix format =" dita" href =" topic.dita" >
9
+ <topicref format =" doxygen" type =" topic" href =" templated.xml" />
10
+ </appendix >
11
+ </appendices >
12
+ </bookmap >
13
+
14
+
You can’t perform that action at this time.
0 commit comments