summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/commonTemplates.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/commonTemplates.xsl b/xslt/commonTemplates.xsl
index 5616bb3d4..9f0423a11 100644
--- a/xslt/commonTemplates.xsl
+++ b/xslt/commonTemplates.xsl
@@ -259,7 +259,7 @@
<xsl:value-of select="substring-before($line,$fs)"/>
</xsl:when>
<xsl:otherwise>
- <xsl:if test="substring-after($line, $fs) = ''">
+ <xsl:if test="substring-after($line, $fs) = '' and $line != $fs">
<xsl:value-of select="$line"/>
</xsl:if>
</xsl:otherwise>