Fix bug with setting inner html of style tag