| 47 | | <xsl:value-of select="translate(translate(translate($str,' ',' '),'“','"'),'”','"')"/> |
| | 49 | <xsl:choose> |
| | 50 | <xsl:when test="contains($str,'…')"> |
| | 51 | <xsl:call-template name="fixup"> |
| | 52 | <xsl:with-param name="str"><xsl:value-of select="substring-before($str,'…')"/></xsl:with-param> |
| | 53 | </xsl:call-template> |
| | 54 | <xsl:text>...</xsl:text> |
| | 55 | <xsl:call-template name="fixup"> |
| | 56 | <xsl:with-param name="str"><xsl:value-of select="substring-after($str,'…')"/></xsl:with-param> |
| | 57 | </xsl:call-template> |
| | 58 | </xsl:when> |
| | 59 | <xsl:otherwise> |
| | 60 | <xsl:value-of select="translate(translate(translate(translate($str,' ',' '),'“','"'),'”','"'),'˜','~')"/> |
| | 61 | </xsl:otherwise> |
| | 62 | </xsl:choose> |