Fix handling of 'style' attribute strings in diet templates.