# HG changeset patch # User František Kučera <franta-hg@frantovo.cz> # Date 1318878384 -7200 # Node ID a865136070a073b5caa9dbfbac6bf2070400decf # Parent 70286a6cf3382d739c99afd70feb209cdd706817 Drupal: text/plain – h2 bude podtřžené = místo # + podpora značky cite. diff -r 70286a6cf338 -r a865136070a0 helpers/mimeTextPart.xsl --- a/helpers/mimeTextPart.xsl Mon Oct 17 19:50:23 2011 +0200 +++ b/helpers/mimeTextPart.xsl Mon Oct 17 21:06:24 2011 +0200 @@ -21,7 +21,7 @@ <xsl:template match="h:h1"> <xsl:value-of select="text()"/> <xsl:text> </xsl:text> - <xsl:for-each select="1 to string-length(.)">#</xsl:for-each> + <xsl:for-each select="1 to string-length(.)">=</xsl:for-each> <xsl:text> </xsl:text> <xsl:text> </xsl:text> </xsl:template> @@ -85,7 +85,12 @@ <xsl:text> </xsl:text> <xsl:text> </xsl:text> </xsl:template> - + + <xsl:template match="h:cite[not(matches(., '^("|„)'))]"> + <xsl:text>„</xsl:text> + <xsl:apply-templates/> + <xsl:text>“</xsl:text> + </xsl:template> <xsl:template match="h:a"> <xsl:text>"</xsl:text>