plone/plone.app.layout — pull request #12 by daftdog (2012-10-11 15:27:10+00:00)
Title: Run IIDNormalizer over template name for body class

On add forms something like "template-package.name.type" can end up in the body class, but dots should not end up in classes. Since the portal-type class was normalized already I just made the normalizer run over the template name as well, which results in "template-package-name-type".