mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Quote header line properly on CSV export
Let's make the export consistent by quoting the header line the same way the sample rows are quoted. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
85a3f10508
commit
2b559225d6
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
<xsl:variable name="fs">,</xsl:variable>
|
<xsl:variable name="fs">,</xsl:variable>
|
||||||
|
|
||||||
<xsl:template match="/divelog/dives">
|
<xsl:template match="/divelog/dives">
|
||||||
<xsl:value-of select='concat("dive number", $fs, "dive date", $fs, "dive time", $fs, "time", $fs, "depth", $fs, "temperature", $fs, "pressure")'/>
|
<xsl:value-of select="concat('"dive number"', $fs, '"dive date"', $fs, '"dive time"', $fs, '"time"', $fs, '"depth"', $fs, '"temperature"', $fs, '"pressure"')"/>
|
||||||
<xsl:text>
|
<xsl:text>
|
||||||
</xsl:text>
|
</xsl:text>
|
||||||
<xsl:apply-templates select="dive|trip/dive"/>
|
<xsl:apply-templates select="dive|trip/dive"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue