mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix importing CSV files with empty values
Empty values included the rest of the line in the value, instead of leaving it empty. This patch leaves empty values empty. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cde9bc0de9
commit
803623042c
1 changed files with 3 additions and 1 deletions
|
@ -194,7 +194,9 @@
|
|||
<xsl:value-of select="substring-before($line,$fs)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$line"/>
|
||||
<xsl:if test="substring-after($line, $fs) = ''">
|
||||
<xsl:value-of select="$line"/>
|
||||
</xsl:if>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:otherwise>
|
||||
|
|
Loading…
Add table
Reference in a new issue