Deprecate implicit text-only for script and style

closes #875