Commit 82cc3fc5 authored by Andre Malo's avatar Andre Malo
Browse files

backport joe's fix of examples in dds.

It's not really perfect now, but better than showing format instructions in the
output.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@105903 13f79535-47bb-0310-9956-ffa450edef68
parent 8f44f811
Loading
Loading
Loading
Loading
+5 −1
Changes for docs/manual/style/xsl/nroff.xsl: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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;