NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/45470: Website does not show para's in sect2's
>Number: 45470
>Category: misc
>Synopsis: Website does not show para's in sect2's
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 14 09:20:01 +0000 2011
>Originator: Julian Fagir
>Release: NetBSD-current
>Organization:
>Environment:
Website
>Description:
The XSL definitions of the website does not show the para-tags which are only
in a sect2.
This results in some existing articles not being showed right, but also in
making the writing of new articles more difficult, as you always have to follow
these formats.
>How-To-Repeat:
Look at the source code of docs/bootcd.xml, line 705. There is a para "It is
possible to mount...", which is not seen on this website:
http://netbsd.org/docs/bootcd.html
>Fix:
Index: share/xsl/webpage.xsl
===================================================================
RCS file: /cvsroot/htdocs/share/xsl/webpage.xsl,v
retrieving revision 1.48
diff -u -r1.48 webpage.xsl
--- share/xsl/webpage.xsl 7 Jul 2011 10:07:47 -0000 1.48
+++ share/xsl/webpage.xsl 20 Aug 2011 10:27:15 -0000
@@ -479,6 +479,7 @@
<hr/>
<h3 class="title"><xsl:apply-templates select="title" mode="plaintext"/>
</h3>
+ <xsl:apply-templates select="para" mode="plaintext"/>
<xsl:for-each select="sect3">
<xsl:apply-templates/>
</xsl:for-each>
This patch adds another break before but is untested. Perhaps have a look at it:
Index: share/xsl/webpage.xsl
===================================================================
RCS file: /cvsroot/htdocs/share/xsl/webpage.xsl,v
retrieving revision 1.48
diff -u -r1.48 webpage.xsl
--- share/xsl/webpage.xsl 7 Jul 2011 10:07:47 -0000 1.48
+++ share/xsl/webpage.xsl 20 Aug 2011 10:29:45 -0000
@@ -478,7 +478,9 @@
<xsl:for-each select="sect2">
<hr/>
<h3 class="title"><xsl:apply-templates select="title" mode="plaintext"/>
- </h3>
+ </h3>
+ <br />
+ <xsl:apply-templates select="para" mode="plaintext"/>
<xsl:for-each select="sect3">
<xsl:apply-templates/>
</xsl:for-each>
Home |
Main Index |
Thread Index |
Old Index