[Python-bugs-list] [Bug #113800] optional{} produces incorrect HTML

noreply@sourceforge.net noreply@sourceforge.net
Fri, 8 Sep 2000 01:49:27 -0700


Bug #113800, was updated on 2000-Sep-07 08:18
Here is a current snapshot of the bug.

Project: Python
Category: Documentation
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: optional{} produces incorrect HTML

Details: This showed up in the Python 2.0 document: LaTeX2HTML
produces bad HTML with improperly nested tags, including a trailing <var> tag that leaves the rest of the document in italic on some browsers.  Sample document:

\documentclass{howto}
 
\title{What's New in Python 2.0}
\release{0.05}
\author{A.M. Kuchling and Moshe Zadka}
\authoraddress{\email{amk1@bigfoot.com}, \email{moshez@math.huji.ac.il} }
 
\begin{document}
 
\code{unicode(\var{string} \optional{, \var{encoding}}
\optional{, \var{errors}} ) } creates a Unicode string from an 8-bit
 
\end{document}  

The incorrect HTML output is:

<code>unicode(<var>string</var> </var><big>[</big><var>, <var>encoding</var></var><big>]</big><big>[</big><var>, <var>errors</var></var><big>]</big><var> ) </code> creates ...

Follow-Ups:

Date: 2000-Sep-08 01:49
By: aleax

Comment:
bug 113700 is a consequence of this, I think.

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=113800&group_id=5470