1
0
mirror of https://git.linuxfromscratch.org/lfs.git synced 2025-06-22 05:09:24 +01:00

Remove eol spaces in xsl stylesheets

This commit is contained in:
Pierre Labastie 2021-09-07 23:28:43 +02:00
parent 9ee05b53be
commit 2da0137968
3 changed files with 9 additions and 9 deletions

View File

@ -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" -->

View File

@ -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>&#x0a;</xsl:text>
</xsl:if>
</xsl:template>
<xsl:template name="basename">
<xsl:param name="pathname"/>
<xsl:choose>
<xsl:when test="contains( $pathname, '/' )" >

View File

@ -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>