in reply to Re: Re: br tag in CGI.pm V2.91
in thread br tag in CGI.pm V2.91
I just pulled 2.91 and I get the same results as you.
C:\test>perl -mCGI -le"$q=new CGI; print $CGI::VERSION; $CGI::XHTML=1; + print $q->br;" 2.91 <br></br>
I even tried explicitly setting $CGI::XHTML = 1; directly--even though it appears to be set to this at line 45 of CGI.pm, and the only place where I can see that it gets modified is at line 718 as a result of the -no_xhtml option. The code generating the BR markup
1948 $break = $XHTML ? "<br />" : "<br>"; 2116 $break = $XHTML ? "<br />" : "<br>";
looks like it ought to do the right thing.
Upshot: I guess it's time to send Lincoln Stein a bug report. You could try for a patch as well, but I'm scuppered if I can see where to patch:)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: br tag in CGI.pm V2.91
by cLive ;-) (Prior) on Apr 10, 2003 at 01:01 UTC | |
by BrowserUk (Patriarch) on Apr 10, 2003 at 08:21 UTC | |
by cLive ;-) (Prior) on Apr 10, 2003 at 17:55 UTC | |
by BrowserUk (Patriarch) on Apr 10, 2003 at 20:34 UTC |