mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Import quoted strings from the end of line properly
We need a special case to import tags on our own CSV export as there is no field separator at the end of the line. See #814 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
58173d711c
commit
d57ffa8e58
1 changed files with 3 additions and 0 deletions
|
@ -414,6 +414,9 @@
|
|||
<xsl:when test="substring-before($line,'"$fs') != ''">
|
||||
<xsl:value-of select="substring-before($line,'"$fs')"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="substring-before(substring-after($line, '"'), '"') != '' and substring-after(substring-after($line, '"'), '"') = ''">
|
||||
<xsl:value-of select="substring-before(substring-after($line, '"'), '"')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
<xsl:when test="substring-after(substring-after($line, '"'), '"') = ''">
|
||||
|
|
Loading…
Reference in a new issue