mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CSV import: support for quoted " within field
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
9540793552
commit
b3694faefc
1 changed files with 2 additions and 2 deletions
|
@ -302,8 +302,8 @@
|
|||
<xsl:choose>
|
||||
<xsl:when test="substring($line, 1, 1) = '"'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="substring-before(substring-after($line, '"'), '"') != ''">
|
||||
<xsl:value-of select="substring-before(substring-after($line, '"'), '"')"/>
|
||||
<xsl:when test="substring-before(substring-after($line, '"'), concat('"', $fs)) != ''">
|
||||
<xsl:value-of select="substring-before(substring-after($line, '"'), concat('"', $fs))"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
|
|
Loading…
Reference in a new issue