Handle "style" tag with inline content also correctly ("script" was already fixed).

Supposedly fixes issue #507, but not yet verified.