Re: a push @lines2 in pass1

Dumas Patrice <[email protected]> Thu, 6 Feb 2003 12:19:05 +0100
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
Hi,

It is in texi2html.pl

> 
> revision 1.21
> date: 2003/02/03 15:33:23;  author: pertusus;  state: Exp;  lines: +1 -21
> Remove handling of setref which is a TeX macro. The corresponding texinfo
> macro is anchor.
> Remove an unneeded protect_texi
> 
> I'm confused.

That's because I'm confusing ;-). I told I commited it, but it was a lie,
I hadn't time to commit it yesterday... I will do it shortly.
I should have said I will change it in cvs soon...

> Oh, is it that?
> 
>                 # APA: <table> implicitly ends paragraph, so let's do it
>                 # explicitly to keep our HTML stack in sync.
>                 if ($start =~ /\A\s*<table>/i)
>                 {
>                     if ($html_element eq 'p')
>                     {
>                         push (@lines2, &debug("</p>\n", __LINE__));
>                         &html_pop();
>                     }
>                 }

Exactly.

> @lines2 looks wrong to me too.
> 
> I did a lot towards making texi2html output valid HTML.

> Please use http://validator.w3.org/file-upload.html
> or some such when you change texi2html output.

Good idea.

Pat