Forced text mode for text types. Fixed lack of URI escaping.