From eserte@cottrell.dialup.fu-berlin.de  Wed Aug  6 09:55:37 1997
Received: from cottrell.dialup.fu-berlin.de (dial1-02.zrz.TU-Berlin.DE [130.149.1.162])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA06756
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 6 Aug 1997 09:55:32 -0700 (PDT)
Received: (from eserte@localhost)
	by cottrell.dialup.fu-berlin.de (8.8.5/8.8.5) id SAA04019;
	Wed, 6 Aug 1997 18:49:23 +0200 (CEST)
Message-Id: <199708061649.SAA04019@cottrell.dialup.fu-berlin.de>
Date: Wed, 6 Aug 1997 18:49:23 +0200 (CEST)
From: Slaven Rezic <eserte@cs.tu-berlin.de>
Reply-To: eserte@cs.tu-berlin.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: sgml: translation of <code> to html is wrong
X-Send-Pr-Version: 3.2

>Number:         4236
>Category:       docs
>Synopsis:       sgml: translation of <code> to html is wrong
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    jfieber
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug  6 10:00:04 PDT 1997
>Closed-Date:    Sat Sep 13 12:28:51 PDT 1997
>Last-Modified:  Sat Sep 13 12:31:38 PDT 1997
>Originator:     Slaven Rezic
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
Private FreeBSD site, Berlin, Germany
>Environment:

	

>Description:

	The translation of <code>-Tags in sgml files to html documents
	is not correct. 

>How-To-Repeat:

	Look at file://localhost/usr/share/doc/FAQ/FAQ72.html#72 (for
	FreeBSD-2.2.1). There is a verbose <hr> before and after each
	code section.

>Fix:
	
	Here is a workaround for
	/usr/share/sgml/transpec/linuxdoc-html.ts: 

--- linuxdoc-html.ts.orig	Sat Apr  5 14:49:11 1997
+++ linuxdoc-html.ts	Wed Jun 25 03:11:01 1997
@@ -488,8 +488,10 @@
 <match>
   <gi>CODE
 <action>
-  <start>^&lt;hr&gt;&lt;pre&gt;^</start>
-  <end>^&lt;/pre&gt;&lt;hr&gt;^</end>
+  <start>^&lt;hr&gt;
+&lt;pre&gt;^</start>
+  <end>^&lt;/pre&gt;
+&lt;hr&gt;^</end>
 </rule>
 
 <rule>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jfieber 
Responsible-Changed-By: wosch 
Responsible-Changed-When: Sat Sep 13 10:50:54 PDT 1997 
Responsible-Changed-Why:  
John is the Documentation manager. 

State-Changed-From-To: open->closed 
State-Changed-By: jfieber 
State-Changed-When: Sat Sep 13 12:28:51 PDT 1997 
State-Changed-Why:  
This is actually a ports issue as the SGML formatting tools are 
no longer maintained in the FreeBSD source tree.  I have applied 
the fix to the textproc/sgmlformat port. 

>Unformatted:
