]> granicus.if.org Git - apache/commitdiff
Prevent .nf/.fi regions being sucked up by normalize-space in
authorJoe Orton <jorton@apache.org>
Tue, 28 Sep 2004 15:17:07 +0000 (15:17 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 28 Sep 2004 15:17:07 +0000 (15:17 +0000)
apxs.8.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105311 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/nroff.xsl

index 9f9924ffe58bd99d4beafdfb505f646a8a2b77df..965cc66cf67a2173102e46a91b418c67b3c51c2b 100644 (file)
 <!-- ==================================================================== -->
 <!-- <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;