Drupal: text/plain – podpora citací: cite.
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue Oct 18 21:10:45 2011 +0200 (2011-10-18)
changeset 977520a9246ff5
parent 96 a0a93e49d055
child 98 763472057819
Drupal: text/plain – podpora citací: cite.
helpers/mimeTextPart.xsl
helpers/mimeXhtmlPart.xsl
     1.1 --- a/helpers/mimeTextPart.xsl	Tue Oct 18 20:54:14 2011 +0200
     1.2 +++ b/helpers/mimeTextPart.xsl	Tue Oct 18 21:10:45 2011 +0200
     1.3 @@ -86,12 +86,14 @@
     1.4  		<xsl:text>&#10;</xsl:text>
     1.5  	</xsl:template>
     1.6  
     1.7 +	
     1.8  	<xsl:template match="h:cite[not(matches(., '^(&quot;|„)'))]">
     1.9  		<xsl:text>„</xsl:text>
    1.10  		<xsl:apply-templates/>
    1.11  		<xsl:text>“</xsl:text>
    1.12  	</xsl:template>	
    1.13  	
    1.14 +	
    1.15  	<xsl:template match="h:a">
    1.16  		<xsl:text>'</xsl:text>
    1.17  		<xsl:apply-templates select="node()"/>
     2.1 --- a/helpers/mimeXhtmlPart.xsl	Tue Oct 18 20:54:14 2011 +0200
     2.2 +++ b/helpers/mimeXhtmlPart.xsl	Tue Oct 18 21:10:45 2011 +0200
     2.3 @@ -172,6 +172,7 @@
     2.4  				name() = 'li' or
     2.5  				name() = 'pre' or
     2.6  				name() = 'code' or
     2.7 +				name() = 'cite' or
     2.8  				name() = 'blockquote'">
     2.9  				<xsl:element name="{name()}">
    2.10  					<xsl:apply-templates select="node()"/>