mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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: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:apply-templates select="dive|trip/dive"/>
|
||||
|
|
Loading…
Reference in a new issue