aboutsummaryrefslogtreecommitdiffstats
path: root/xslt/DivingLog.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/DivingLog.xslt')
-rw-r--r--xslt/DivingLog.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/DivingLog.xslt b/xslt/DivingLog.xslt
index f7921f619..b3a93705e 100644
--- a/xslt/DivingLog.xslt
+++ b/xslt/DivingLog.xslt
@@ -108,7 +108,7 @@
</xsl:attribute>
</xsl:if>
- <xsl:if test="Gas != ''">
+ <xsl:if test="Gas != '' and substring-after(substring-before(Gas, ')'), 'O2=') != ''">
<xsl:attribute name="o2">
<xsl:value-of select="substring-after(substring-before(Gas, ')'), 'O2=')"/>
</xsl:attribute>