Re: HTML::Common
| From: | jan at kneschke dot de | Date: | Thu, 04 Oct 2001 12:46:13 +0000 |
| Subject: | Re: HTML::Common | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2128@lists.php.net to get a copy of this message | ||
On Thu, Oct 04, 2001 at 04:08:56PM +0400, ????????? ?.?. wrote:
> Hi All!
>
> In function _getAttrString ($attributes) would be correct to substitute
>
> if (is_int ($key)) {
> strAttr. = '. strtolower ($value). ' = " '. strtolower ($value).
> '"";
> } else....
>
> on
>
> if (is_int ($key)) {
> strAttr. = '. strtolower ($value);
> } else....
>
> What sense in attribute: someattr = "someattr"?
> And also in the current version it is impossible to write unary attributes
> such as "nowrap", It is possible to receive only
> nowrap = "nowrap"
Which is perfectly right with the current spec for XHTML 1.0.
> BR,
> Nick Panteleeff
Jan
--
mailto: jan@kneschke.de weigon @ #php.de (IRCnet)
http://jan.kneschke.de weigon @ #modlogan (openprojects)