aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2021-09-07 23:28:43 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2021-09-07 23:28:43 +0200
commit2da0137968546f55eba120fd10c1844c804e365e (patch)
tree2f62f3fe6c14a2a7dfba2daea7f3f130ac41ab8a /stylesheets
parent9ee05b53be91de3ba41f3b0533240128fad4048d (diff)
Remove eol spaces in xsl stylesheets
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/lfs-xsl/pdf/lfs-mixed.xsl6
-rw-r--r--stylesheets/md5sum.xsl8
-rw-r--r--stylesheets/wget-list.xsl4
3 files changed, 9 insertions, 9 deletions
diff --git a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
index 85fc3825f..f767ace6a 100644
--- a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
+++ b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
@@ -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" -->
diff --git a/stylesheets/md5sum.xsl b/stylesheets/md5sum.xsl
index d179594af..617bd4aa9 100644
--- a/stylesheets/md5sum.xsl
+++ b/stylesheets/md5sum.xsl
@@ -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, '/' )" >
diff --git a/stylesheets/wget-list.xsl b/stylesheets/wget-list.xsl
index 5b4b76f11..62a518d38 100644
--- a/stylesheets/wget-list.xsl
+++ b/stylesheets/wget-list.xsl
@@ -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>