From owner-freebsd-bugs Sat Jan 11 14:40:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA10976 for bugs-outgoing; Sat, 11 Jan 1997 14:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA10963; Sat, 11 Jan 1997 14:40:02 -0800 (PST) Resent-Date: Sat, 11 Jan 1997 14:40:02 -0800 (PST) Resent-Message-Id: <199701112240.OAA10963@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, charnier@xp11.frmug.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA10548 for ; Sat, 11 Jan 1997 14:31:53 -0800 (PST) Received: (from uucp@localhost) by frmug.org (8.8.2/8.8.2/frmug-1.3) with UUCP id XAA00759 for FreeBSD-gnats-submit@freebsd.org; Sat, 11 Jan 1997 23:31:45 +0100 (MET) Received: (from charnier@localhost) by xp11.frmug.org (8.8.4/8.7.3/xp11-uucp-1.1) id MAA16686; Sat, 11 Jan 1997 12:30:32 +0100 (CET) Message-Id: <199701111130.MAA16686@xp11.frmug.org> Date: Sat, 11 Jan 1997 12:30:32 +0100 (CET) From: Philippe Charnier Reply-To: charnier@xp11.frmug.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/2453: incorrect window title with Netscape Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2453 >Category: docs >Synopsis: window titles can't resolve aaaaa >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 11 14:40:01 PST 1997 >Last-Modified: >Originator: Philippe Charnier >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: In the handbook, code that is defined by Future plans for is incorrectly displayed in the window title, I see `Future plans for CTM' instead of `Future plans for CTM'. >How-To-Repeat: Browse using Netscape or grep handbook looking for TITLE. handbook216.html:What is FreeBSD-current <em>NOT</em>? handbook224.html:Why should I use <code>CTM</code>? handbook262.html:What's a <em>kernel option</em>, anyway? [...] >Fix: Do not allow this in documents or use something like: Index: sgmlfmt.pl =================================================================== RCS file: /home2h/FreeBSD.cvsroot/src/usr.bin/sgmlfmt/sgmlfmt.pl,v retrieving revision 1.17 diff -u -r1.17 sgmlfmt.pl --- sgmlfmt.pl 1996/10/05 23:38:55 1.17 +++ sgmlfmt.pl 1997/01/11 11:19:58 @@ -396,6 +396,10 @@ if ($st_sl[$sc] > 0 && $st_sl[$sc] <= $maxlevel) { $header[$st_ol[$sc]] = "$doctype\n\n\n$_\n\n$BODY\n"; + $header[$st_ol[$sc]] =~ s///g; + $header[$st_ol[$sc]] =~ s/<\/code>//g; + $header[$st_ol[$sc]] =~ s///g; + $header[$st_ol[$sc]] =~ s/<\/em>//g; $header[$st_ol[$sc]] .= $html_header; if ($opt_ssi) { # Server Side Include hook $header[$st_ol[$sc]] .= >Audit-Trail: >Unformatted: