server/executionhandlers/ruby/dsl_to_dslx.xsl in cpee-2.1.30 vs server/executionhandlers/ruby/dsl_to_dslx.xsl in cpee-2.1.32
- old
+ new
@@ -747,12 +747,12 @@
<xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="substring(.,1,1) = '!'">
- <xsl:text>#{</xsl:text>
- <xsl:value-of select="str:replace(str:replace(substring(.,2),'\','\\'),'"','\\\"')"/>
- <xsl:text>.to_json}</xsl:text>
+ <xsl:text>#{(</xsl:text>
+ <xsl:value-of select="substring(.,2)"/>
+ <xsl:text>).to_json}</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>\"</xsl:text>
<xsl:value-of select="str:replace(str:replace(.,'\','\\'),'"','\\\"')"/>
<xsl:text>\"</xsl:text>