mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix free form text fields on .DLD upload
We need to have CDATA around text fields to support e.g. Cyrillic alphabet. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9187415124
commit
03c21b0a92
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:import href="commonTemplates.xsl"/>
|
||||
<xsl:strip-space elements="*"/>
|
||||
<xsl:output method="xml" encoding="iso-8859-1" indent="yes"/>
|
||||
<xsl:output method="xml" encoding="iso-8859-1" indent="yes"
|
||||
cdata-section-elements="LOCATION SITE WEATHER WATERVIZIBILITY PARTNER BOATNAME CYLINDERDESCRIPTION LOGNOTES"
|
||||
/>
|
||||
|
||||
<xsl:template match="/divelog/dives">
|
||||
<xsl:apply-templates select="dive"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue