lundi 18 avril 2016

Rails stripping quotes around html attributes

We've recently upgraded our Rails app from 3.2 to 4.1, and now it seems Rails is removing the quotes around html attribute values, leading to stuff like <meta name=name />.

I've looked around and I know now that the quotes aren't necessary, but it seems that some crawlers will miss certain attributes if they aren't in quotes. Is there a way to make Rails stop stripping these quotes out?

Aucun commentaire:

Enregistrer un commentaire