Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 1997 18:49:23 +0200 (CEST)
From:      Slaven Rezic <eserte@cs.tu-berlin.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/4236: sgml: translation of <code> to html is wrong
Message-ID:  <199708061649.SAA04019@cottrell.dialup.fu-berlin.de>
Resent-Message-ID: <199708061700.KAA07147@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4236
>Category:       docs
>Synopsis:       sgml: translation of <code> to html is wrong
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug  6 10:00:04 PDT 1997
>Last-Modified:
>Originator:     Slaven Rezic
>Organization:
Private FreeBSD site, Berlin, Germany
>Release:        FreeBSD 2.2.1-RELEASE i386
>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>


>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708061649.SAA04019>