forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: svn commit: r349444 - /forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl
Date Mon, 28 Nov 2005 18:04:49 GMT
El lun, 28-11-2005 a las 17:48 +0000, josch@apache.org escribió:
> Author: josch
> Date: Mon Nov 28 09:48:30 2005
> New Revision: 349444
> 
> URL: http://svn.apache.org/viewcvs?rev=349444&view=rev
> Log:
> make <code> respect @class; used to differentiate e.g. from sdocbook's <userinput>,
<literal>
> 
> Modified:
>     forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl
> 
> Modified: forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl
> URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl?rev=349444&r1=349443&r2=349444&view=diff
> ==============================================================================
> --- forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl (original)
> +++ forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl Mon Nov 28
09:48:30 2005
> @@ -227,7 +227,7 @@
>  
>    <xsl:template match="code">
>      <xsl:apply-templates select="@id"/>
> -    <span class="codefrag">
> +    <span class="codefrag {@class}">

That is not really css friendly. Please use:
+    <span class="codefrag-{@class}">

Otherwise it is a nightmare in the *.css.

salu2

>        <xsl:copy-of select="@id"/>
>        <xsl:value-of select="."/>
>      </span>
> 
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message