Fixed issue with parsing consecutive script or style tags.