You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2004/09/28 17:17:07 UTC
cvs commit: httpd-2.0/docs/manual/style/xsl nroff.xsl
jorton 2004/09/28 08:17:07
Modified: docs/manual/style/xsl nroff.xsl
Log:
Prevent .nf/.fi regions being sucked up by normalize-space in
apxs.8.
Revision Changes Path
1.2 +5 -1 httpd-2.0/docs/manual/style/xsl/nroff.xsl
Index: nroff.xsl
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/nroff.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -d -w -u -r1.1 -r1.2
--- nroff.xsl 3 May 2004 19:19:14 -0000 1.1
+++ nroff.xsl 28 Sep 2004 15:17:07 -0000 1.2
@@ -313,7 +313,11 @@
<!-- ==================================================================== -->
<!-- <example> -->
<!-- ==================================================================== -->
-<xsl:template match="example">
+<xsl:template match="example[ancestor::dd]">
+ <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="example[not(ancestor::dd)]">
&lf;
<xsl:text>.nf</xsl:text>&lf;
<xsl:apply-templates />&lf;