Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Improve HTML generated by Scaffold

#4049

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.

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

State: invalid
Milestone: none
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. José Valim
    José Valim
    • 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.

    February 24th, 2010 @ 07:58 PM