Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Do you know where your variables are?
 
PerlMonks  

Re: CGI.pm and XHTML

by mirod (Canon)
on Mar 28, 2001 at 12:16 UTC ( [id://67809]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to CGI.pm and XHTML

According to XHTML it should be <br /> or <br></br> and it is with use CGI. The problem seems to be with CGI::Pretty. I guess you found a bug there.

Replies are listed 'Best First'.
Re: CGI.pm and XHTML
by kal (Hermit) on Mar 28, 2001 at 12:47 UTC

    It may be a bug - in my copy, the lines:

    if ($linebreak) { $break = $XHTML ? "<br />" : "<br>"; }

    .. appear, so they know about this already, it's in version 2.752 (what I got here). Perhaps you need to upgrade CGI.pm?

(Ovid) Re(2): CGI.pm and XHTML
by Ovid (Cardinal) on Mar 28, 2001 at 12:59 UTC
    Yup, it's a bug with CGI::Pretty. Sigh. There was a bug in $CGI::VERSION 2.46 with CGI::Pretty that was stripping the attributes of HTML tags. Yet another reason to avoid CGI::Pretty.

    Thanks!

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67809]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.