Skip to content

Commit 669c4e8

Browse files
build: GH action
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
1 parent abd103c commit 669c4e8

File tree

1 file changed

+26
-28
lines changed

1 file changed

+26
-28
lines changed

src/main/resources/rr/xhtml2rst.xsl

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,29 @@
2828
<xsl:template match="*">
2929
<xsl:choose>
3030
<xsl:when test="$withFloatingToc='true'">
31-
<xsl:text disable-output-escaping="yes">
32-
.. raw:: html
33-
34-
&lt;div id="floating-toc"&gt;
35-
&lt;div class="search-container"&gt;
36-
&lt;input type="button" id="toc-hide-show-btn"&gt;&lt;/input&gt;
37-
&lt;input type="text" id="toc-search" placeholder="Search" /&gt;
38-
&lt;/div&gt;
39-
&lt;ul id="toc-list"&gt;&lt;/ul&gt;
40-
&lt;/div&gt;
41-
42-
</xsl:text>
31+
<xsl:text disable-output-escaping="yes"><![CDATA[
32+
.. raw:: html
33+
34+
<div id="floating-toc">
35+
<div class="search-container">
36+
<input type="button" id="toc-hide-show-btn"></input>
37+
<input type="text" id="toc-search" placeholder="Search" />
38+
</div>
39+
<ul id="toc-list"></ul>
40+
</div>
41+
42+
43+
]]></xsl:text>
4344
</xsl:when>
4445
</xsl:choose>
4546

4647
<xsl:apply-templates select="/xhtml:html/xhtml:body"/>
4748
</xsl:template>
4849

4950
<xsl:template match="/xhtml:html/xhtml:body">
50-
<xsl:text disable-output-escaping="yes">
51-
*********************************************************************
52-
SQL Syntax
53-
</xsl:text>
51+
<xsl:text disable-output-escaping="yes"><![CDATA[
52+
*********************************************************************
53+
SQL Syntax]]></xsl:text>
5454
<xsl:choose>
5555
<xsl:when test="$isSnapshot='true'">
5656
<xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text>
@@ -59,11 +59,10 @@
5959
<xsl:text>|JSQLPARSER_VERSION|</xsl:text>
6060
</xsl:otherwise>
6161
</xsl:choose>
62-
<xsl:text>
63-
*********************************************************************
62+
<xsl:text><![CDATA[
63+
*********************************************************************
6464
65-
The EBNF and Railroad Diagrams for
66-
</xsl:text>
65+
The EBNF and Railroad Diagrams for]]></xsl:text>
6766
<xsl:choose>
6867
<xsl:when test="$isSnapshot='true'">
6968
<xsl:text>|JSQLPARSER_SNAPSHOT_VERSION|</xsl:text>
@@ -79,17 +78,16 @@
7978
</xsl:template>
8079

8180
<xsl:template match="svg:svg[preceding-sibling::*[1]/xhtml:a]">
82-
<xsl:text disable-output-escaping="yes">
83-
======================================================================================================================
84-
</xsl:text>
85-
<xsl:value-of select="translate(preceding-sibling::*[1]/xhtml:a/text(),'\:','')"/>
86-
<xsl:text disable-output-escaping="yes">
87-
======================================================================================================================
81+
<xsl:text disable-output-escaping="yes"><![CDATA[
82+
======================================================================================================================
83+
]]></xsl:text><xsl:value-of select="translate(preceding-sibling::*[1]/xhtml:a/text(),'\:','')"/>
84+
<xsl:text disable-output-escaping="yes"><![CDATA[
85+
======================================================================================================================
8886
89-
</xsl:text>
87+
]]></xsl:text>
9088

9189
<xsl:text disable-output-escaping="yes">
92-
.. raw:: html
90+
.. raw:: html
9391

9492
</xsl:text>
9593

0 commit comments

Comments
 (0)