Skip to content

Commit f6a376a

Browse files
committed
Handle escaping of content in error messages
1 parent 4245bc2 commit f6a376a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/handleIssues.xslt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<xsl:text>","code":"</xsl:text>
3737
<xsl:value-of select="$code"/>
3838
<xsl:text>","details":{"text":"</xsl:text>
39-
<xsl:value-of select="$details"/>
39+
<xsl:value-of select="translate(translate($details, '\', '\\'), '&quot;', '\&quot;')"/>
4040
<xsl:text>"},"location":["</xsl:text>
4141
<xsl:value-of select="$location"/>
4242
<xsl:text>"]}&#xa;,</xsl:text>

0 commit comments

Comments
 (0)