[[email protected]: Bug#220313: links-ssl: links uncorrectly handles <sub> inside <pre></pre>]

Peter Gervai <[email protected]>
Newsgroups gmane.comp.web.links.list,gmane.comp.web.links
Message-ID <[email protected]>
problem exists in links and elinks, too.

----- Forwarded message

Links doesn't print out <sub> tags correctly. This piece of html code

<html>
<head>
<title>Chapter 1 - A Tutorial Introduction</title>
</head>
<body>
<p>
The example also shows an <tt>else</tt>, which specifies an alternative
action if the condition part of an <tt>if</tt> statement is false. The
general form is
<pre>
   if (<em>expression</em>)
       <em>statement<sub>1</sub></em>
   else
       <em>statement<sub>2</sub></em>
</pre>
One and only one of the two statements associated with an <tt>if-else</tt> is
performed. If the <em>expression</em> is true, <em>statement<sub>1</sub></em> is
executed; if not, <em>statement<sub>2</sub></em> is executed. Each
<em>statement</em> can be a single statement or several in braces. In the
word count program, the one after the <tt>else</tt> is an <tt>if</tt> that
controls two statements in braces.
</body>


doens't print a newline after the </pre> and prints newline within the
subs:

  The example also shows an else, which specifies an alternative action if      
   the condition part of an if statement is false. The general form is           
                                                                                 
    if (expression)                                                              
        statement[1                                                              
 ]   else                                                                        
        statement[2                                                              
                                                                                 
   ]One and only one of the two statements associated with an if-else is         
   performed. If the expression is true, statement[1] is executed; if not,       
   statement[2] is executed. Each statement can be a single statement or         
   several in braces. In the word count program, the one after the else is an    
   if that controls two statements in braces.

Note that the subs outside the <pre></pre> are handled correctly.


----- End forwarded message -----
_______________________________________________
Links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.