Add <raw=len:str/> tags for handling tainted text