Auto_discovery_link_tag generating an href tag

For some obscure reason, <%= auto_discovery_link_tag %> generates the
following html code:

This is wrong html. Where does the problem come from? Bug from Rails
2.1.0?

By the way,

<%= stylesheet_link_tag(“screen”) %>

generates:

I smell something bad.

On Sep 22, 6:06 pm, Fernando P. [email protected]
wrote:

By the way,

<%= stylesheet_link_tag(“screen”) %>

generates:

I smell something bad.

Isn’t that supposed to be the behavior of stylesheet_link_tag as per
documentation?

You are write. However, shouldn’t it be <link rel=… ???

Because with <link href=… for the CSS, my validator says it is not
valid html.

On Sep 22, 7:24 pm, Fernando P. [email protected]
wrote:

You are write. However, shouldn’t it be <link rel=… ???

Because with <link href=… for the CSS, my validator says it is not
valid html.

It validates okay using the W3C validation service: