summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-11-29 21:56:53 +0100
committerAndras Timar <atimar@suse.com>2012-11-29 21:57:26 +0100
commitab5af23e7240959e77b4329b55da72f235859d27 (patch)
treeea420a58cdefe535c8d0f88ef7c3226c3e04ef1a /xmlhelp
parent16fdc21a36271022b53a8905d41b9d29cb725af4 (diff)
keep indentation in Logo code examples
Change-Id: Ife5aed42af9daeebba4d70899383d2bd0213aded
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/util/main_transform.xsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 0a612fc3748a..6df417f3f23a 100644
--- a/xmlhelp/util/main_transform.xsl
+++ b/xmlhelp/util/main_transform.xsl
@@ -365,6 +365,10 @@
<xsl:call-template name="insertbascode" />
</xsl:when>
+ <xsl:when test="@role='logocode'">
+ <xsl:call-template name="insertlogocode" />
+ </xsl:when>
+
<xsl:otherwise>
<xsl:call-template name="insertpara" />
</xsl:otherwise>
@@ -593,6 +597,11 @@
<pre><xsl:apply-templates /></pre>
</xsl:template>
+<!-- Insert Logo code snippet -->
+<xsl:template name="insertlogocode">
+ <pre><xsl:apply-templates /></pre>
+</xsl:template>
+
<!-- Insert "How to get Link" -->
<xsl:template name="insert_howtoget">
<xsl:param name="linkhref" />