plone/plone.app.theming — pull request #5 by danjacka (2012-08-19 09:59:32+00:00)
Title: Change theme editor page templates to use main_template ...

...rather than prefs_main_template to avoid inserting CSS and JavaScript too early under plonetheme.classic.

As discussed via email with optilude.

The intent here is to avoid inserting markup into the top_slot, since in plonetheme.classic that slot is rendered before DOCTYPE. prefs_main_template doesn't include any other slots in

, so the most straightforward fix is to use main_template instead.