fix for style/script tags not recognizing types