+2007-11-29 15:24 +0100 Rocco Rutte <pdmef@gmx.net> (c64cb80a90a6)
+
+ * doc/Makefile.am, doc/db-cleanup.xsl: Add a really ugly hack to make
+ sure the plain text manual is us-ascii. The hack is filtering
+ manual.html to another HTML file but replacing unicode chars by
+ their ascii equivalents. The intermediate file is used to dump HTML
+ to us-ascii text (and only for that).
+
+2007-11-29 10:18 +0100 Rocco Rutte <pdmef@gmx.net> (33895288520e)
+
+ * ChangeLog, hcache.c: Fix hcache build issue when building with gdbm
+ if qdbm is installed, too
+
2007-11-21 13:19 +0100 Miroslav Lichvar <mlichvar@redhat.com> (9286a76e79a2)
* send.c: Don't ignore $from in batch send mode.
<!-- fixup a single string: -->
<!-- 1) replace all non-breaking spaces by ascii-spaces (0xA0) -->
<!-- 2) replace all quotes by ascii quotes (0x201C and 0x201D) -->
+ <!-- 3) replace "fancy" tilde with real tilde (sic!) (0x2DC) -->
+ <!-- 4) replace "horizontal ellipses" with 3 dots (0x2026) -->
<xsl:template name="fixup">
<xsl:param name="str"/>
- <xsl:value-of select="translate(translate(translate($str,' ',' '),'“','"'),'”','"')"/>
+ <xsl:choose>
+ <xsl:when test="contains($str,'…')">
+ <xsl:call-template name="fixup">
+ <xsl:with-param name="str"><xsl:value-of select="substring-before($str,'…')"/></xsl:with-param>
+ </xsl:call-template>
+ <xsl:text>...</xsl:text>
+ <xsl:call-template name="fixup">
+ <xsl:with-param name="str"><xsl:value-of select="substring-after($str,'…')"/></xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="translate(translate(translate(translate($str,' ',' '),'“','"'),'”','"'),'˜','~')"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
</xsl:stylesheet>