[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Newbie Q: Lowercase CGI output
From:       ibotty <me () ibotty ! net>
Date:       2004-03-25 15:14:26
Message-ID: 1080227486.764469 () elch ! in-berlin ! de
[Download RAW message or body]

> I know this might be simple but I haven't found a decent(simple Ruby
> way) of doing this.
> 
> The CGI module outputs all the html tags in upper case. For my own
> conceited reasons( and I heard this was the preferred method), I would
> like the tags to be in lower case.

yes, it is prefered. xhtml requires lower-case tags.

you should be able to simply set 
cgi = CGI.new("xhtml").

my ruby here (1.6) did not have xhtml. if even cgi.rb in cvs does not have
xhtml1 this can be considered a bug, that needs fixing.


ruby is nice, so have fun.

~ibotty

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic