git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796144 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -408,6 +408,10 @@ Fixed bugs: | |||||
| update attribute has been set to true. | update attribute has been set to true. | ||||
| Bugzilla Report 30751. | Bugzilla Report 30751. | ||||
| * The default stylesheets for <junitreport> failed to properly escape | |||||
| XML content in exception stack traces. | |||||
| Bugzilla Report 39492 | |||||
| Other changes: | Other changes: | ||||
| -------------- | -------------- | ||||
| * The get task now also follows redirects from http to https | * The get task now also follows redirects from http to https | ||||
| @@ -862,7 +862,18 @@ h6 { | |||||
| --> | --> | ||||
| <xsl:template name="br-replace"> | <xsl:template name="br-replace"> | ||||
| <xsl:param name="word"/> | <xsl:param name="word"/> | ||||
| <xsl:value-of disable-output-escaping="yes" select='stringutils:replace(string($word),"
","<br/>")'/> | |||||
| <xsl:choose> | |||||
| <xsl:when test="contains($word, '
')"> | |||||
| <xsl:value-of select="substring-before($word, '
')"/> | |||||
| <br/> | |||||
| <xsl:call-template name="br-replace"> | |||||
| <xsl:with-param name="word" select="substring-after($word, '
')"/> | |||||
| </xsl:call-template> | |||||
| </xsl:when> | |||||
| <xsl:otherwise> | |||||
| <xsl:value-of select="$word"/> | |||||
| </xsl:otherwise> | |||||
| </xsl:choose> | |||||
| </xsl:template> | </xsl:template> | ||||
| <xsl:template name="display-time"> | <xsl:template name="display-time"> | ||||
| @@ -451,7 +451,18 @@ | |||||
| --> | --> | ||||
| <xsl:template name="br-replace"> | <xsl:template name="br-replace"> | ||||
| <xsl:param name="word"/> | <xsl:param name="word"/> | ||||
| <xsl:value-of disable-output-escaping="yes" select='stringutils:replace(string($word),"
","<br/>")'/> | |||||
| <xsl:choose> | |||||
| <xsl:when test="contains($word, '
')"> | |||||
| <xsl:value-of select="substring-before($word, '
')"/> | |||||
| <br/> | |||||
| <xsl:call-template name="br-replace"> | |||||
| <xsl:with-param name="word" select="substring-after($word, '
')"/> | |||||
| </xsl:call-template> | |||||
| </xsl:when> | |||||
| <xsl:otherwise> | |||||
| <xsl:value-of select="$word"/> | |||||
| </xsl:otherwise> | |||||
| </xsl:choose> | |||||
| </xsl:template> | </xsl:template> | ||||
| <xsl:template name="display-time"> | <xsl:template name="display-time"> | ||||