mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-22 13:19:20 +01:00
Remove eol spaces in xsl stylesheets
This commit is contained in:
parent
9ee05b53be
commit
2da0137968
@ -103,7 +103,7 @@
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="ancestor::appendix">auto</xsl:when>
|
||||
<!-- Modified by Bruce Dubbs. Allow user to specify
|
||||
<!-- Modified by Bruce Dubbs. Allow user to specify
|
||||
automatic screen formatting to split across pages. -->
|
||||
<xsl:when test="@role='auto'">auto</xsl:when>
|
||||
<xsl:otherwise>always</xsl:otherwise>
|
||||
@ -114,8 +114,8 @@
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
|
||||
<!-- The following lines were inserted by Martin Miehe. Scripts and rules
|
||||
in the appendices should have a smaller font-size so that at least
|
||||
<!-- The following lines were inserted by Martin Miehe. Scripts and rules
|
||||
in the appendices should have a smaller font-size so that at least
|
||||
80 characters fit to one line. -->
|
||||
|
||||
<xsl:if test="ancestor::appendix"> <!-- name(/) != appendix" -->
|
||||
|
@ -15,8 +15,8 @@
|
||||
<!-- If some package don't have the predefined strings in their
|
||||
name, the next test must be fixed to match it also. Skip possible
|
||||
duplicated URLs that may be split for PDF output -->
|
||||
<xsl:if test="(contains( @url, '.tar.' ) or
|
||||
contains( @url, '.tgz' ) or
|
||||
<xsl:if test="(contains( @url, '.tar.' ) or
|
||||
contains( @url, '.tgz' ) or
|
||||
contains( @url, '.patch') ) and
|
||||
not( ancestor-or-self::*/@condition = 'pdf' )" >
|
||||
<!-- Get the md5sum -->
|
||||
@ -32,13 +32,13 @@
|
||||
|
||||
<!-- Add a newline -->
|
||||
<xsl:text>
</xsl:text>
|
||||
|
||||
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="basename">
|
||||
<xsl:param name="pathname"/>
|
||||
|
||||
|
||||
<xsl:choose>
|
||||
|
||||
<xsl:when test="contains( $pathname, '/' )" >
|
||||
|
@ -16,8 +16,8 @@
|
||||
<!-- If some package don't have the predefined strings in their
|
||||
name, the next test must be fixed to match it also. Skip possible
|
||||
duplicated URLs due that may be splitted for PDF output -->
|
||||
<xsl:if test="(contains(@url, '.tar.') or
|
||||
contains(@url, '.tgz') or
|
||||
<xsl:if test="(contains(@url, '.tar.') or
|
||||
contains(@url, '.tgz') or
|
||||
contains(@url, '.patch')) and
|
||||
not(ancestor-or-self::*/@condition = 'pdf')">
|
||||
<xsl:choose>
|
||||
|
Loading…
Reference in New Issue
Block a user