This project is archived and is in readonly mode.

#4049 ✓invalid
Rodrigo Rosenfeld Rosas

Improve HTML generated by Scaffold

Reported by Rodrigo Rosenfeld Rosas | February 24th, 2010 @ 07:50 PM

Just small improvements, following best practices for HTML writing:

b -> strong
p -> div for non-paragraphs

And added a meta for defining charset to utf-8, as it is the most common approach for internationalized applications.

Comments and changes to this ticket

  • José Valim

    José Valim February 24th, 2010 @ 07:58 PM

    • State changed from “new” to “invalid”

    We discussed scaffold changes on the mailing list some time ago. That included a long discussion whether to use or . After that, we decided to not use scaffold, because if we change to , someone will come, say it's wrong and want to change back to again.

    And we are not required to give content type neither charset as meta tag since Rails sends those headers properly.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket