mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 23:21:14 +02:00
Standardize indentation of XSL files
Predominant standard is two spaces, so adjust outliers to that.
This commit is contained in:
parent
8bd44677df
commit
2856c51c86
@ -41,13 +41,13 @@
|
|||||||
the man page to read about it. -->
|
the man page to read about it. -->
|
||||||
<xsl:when test="contains(refnamediv/refname[1],' ')">
|
<xsl:when test="contains(refnamediv/refname[1],' ')">
|
||||||
<xsl:variable name="mangled.title">
|
<xsl:variable name="mangled.title">
|
||||||
<xsl:value-of select="translate(refnamediv/refname[1],' ','_')"/>
|
<xsl:value-of select="translate(refnamediv/refname[1],' ','_')"/>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:apply-templates select="refnamediv/refname[1]"/>
|
<xsl:apply-templates select="refnamediv/refname[1]"/>
|
||||||
<xsl:text> (</xsl:text>
|
<xsl:text> (</xsl:text>
|
||||||
<xsl:call-template name="bold">
|
<xsl:call-template name="bold">
|
||||||
<xsl:with-param name="node" select="exsl:node-set($mangled.title)"/>
|
<xsl:with-param name="node" select="exsl:node-set($mangled.title)"/>
|
||||||
<xsl:with-param name="context" select="."/>
|
<xsl:with-param name="context" select="."/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
<xsl:apply-templates select="refmeta/manvolnum"/>
|
<xsl:apply-templates select="refmeta/manvolnum"/>
|
||||||
<xsl:text>)</xsl:text>
|
<xsl:text>)</xsl:text>
|
||||||
@ -58,16 +58,16 @@
|
|||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="refmeta/refentrytitle">
|
<xsl:when test="refmeta/refentrytitle">
|
||||||
<xsl:call-template name="bold">
|
<xsl:call-template name="bold">
|
||||||
<xsl:with-param name="node" select="refmeta/refentrytitle"/>
|
<xsl:with-param name="node" select="refmeta/refentrytitle"/>
|
||||||
<xsl:with-param name="context" select="."/>
|
<xsl:with-param name="context" select="."/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:call-template name="bold">
|
<xsl:call-template name="bold">
|
||||||
<xsl:with-param name="node" select="refnamediv/refname[1]"/>
|
<xsl:with-param name="node" select="refnamediv/refname[1]"/>
|
||||||
<xsl:with-param name="context" select="."/>
|
<xsl:with-param name="context" select="."/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<xsl:apply-templates select="refmeta/manvolnum"/>
|
<xsl:apply-templates select="refmeta/manvolnum"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user