Tk Library Source Code

View Ticket
Login
Ticket UUID: 527710
Title: backslashes aren't always handled well
Type: Bug Version: None
Submitter: boakley Created on: 2002-03-09 05:08:58
Subsystem: doctools Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-04-24 06:17:38
Resolution: None Closed By: andreas_kupries
    Closed on: 2002-04-23 23:17:38
Description:
In my man page I have something like this:

[example {
   example 1:
   foo bar \
      baz

   example 1:
   foo bar \\
      baz
}]

When I convert that to html, example1 has baz on the 
same line as "foo bar", and example2 shows the double 
backslashes. That seems inconsistent, and makes it 
impossible to get a single backslash.

When I convert to nroff and run it through man, the 
first example has baz on the same line as "foo bar", 
and the second has a single backslash, pretty much as 
I would expect.

So, there's a bug there somewhere. My guess is, the 
html converter is broken.
User Comments: andreas_kupries added on 2002-04-24 06:17:38:
Logged In: YES 
user_id=75003

Bryan, please try that again using the newest doctools 
straight out of CVS. I just tried to reproduce this and 
failed. The generated HTML contained the single and double 
backslashes and netscape rendered it correctly.

get single and double backslashes in the generated html and 
both my Netscape and IE renders it correctly.