aboutsummaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-10-07 16:19:23 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-07 17:41:14 +0300
commit3f5b5f7b3ed632aecd1e439a6f1775755683f76f (patch)
tree358b32b47bd3a1f60fc1e121bd439bb0c0218dcb /xslt
parentd3239aed0fbe374da600090336f55f05208f2178 (diff)
downloadsubsurface-3f5b5f7b3ed632aecd1e439a6f1775755683f76f.tar.gz
CSV import: do not add quote to single word
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
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 82efeacb9..18b50b739 100644
--- a/xslt/commonTemplates.xsl
+++ b/xslt/commonTemplates.xsl
@@ -303,7 +303,7 @@
<xsl:choose>
<xsl:when test="substring-before($field, '&quot;') = ''">
- <xsl:value-of select="concat($value, '&quot;', $field)" />
+ <xsl:value-of select="concat($value, $quote, $field)" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="unquote">