diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2018-10-07 16:19:23 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-07 17:41:14 +0300 |
commit | 3f5b5f7b3ed632aecd1e439a6f1775755683f76f (patch) | |
tree | 358b32b47bd3a1f60fc1e121bd439bb0c0218dcb /xslt | |
parent | d3239aed0fbe374da600090336f55f05208f2178 (diff) | |
download | subsurface-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.xsl | 2 |
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, '"') = ''"> - <xsl:value-of select="concat($value, '"', $field)" /> + <xsl:value-of select="concat($value, $quote, $field)" /> </xsl:when> <xsl:otherwise> <xsl:call-template name="unquote"> |