Lines Matching refs:txt
1127 def escapeNewlines(self, txt):1128 if txt is None:1131 txt = txt.replace("%","%25") # escape all escape char ;)1132 txt = txt.replace("\n","%0A") # escape \n1133 txt = txt.replace("\r","%0D") # escape \r1134 return txt