Searched refs:escapeNewLines (Results 1 – 4 of 4) sorted by relevance
378 this.escapeNewLines=function(value){return value.replace(/\r/g,"\\r").replace(/\n/g,"\\n") function405 }if(text.length>limit){return this.escapeNewLines(text.substr(0,halfLimit)+"..."+text.substr(text.l…406 }else{return this.escapeNewLines(text)
1046 this.escapeNewLines = function(value) function1122 …return this.escapeNewLines(text.substr(0, halfLimit) + "..." + text.substr(text.length-halfLimit));1124 return this.escapeNewLines(text);
389 this.escapeNewLines=function(value){return value.replace(/\r/g,"\\r").replace(/\n/g,"\\n") function 416 }if(text.length>limit){return this.escapeNewLines(text.substr(0,halfLimit)+"..."+text.substr(text.length-halfLimit))417 }else{return this.escapeNewLines(text)
1 …escapeNewLines) {\n if (!text) {\n text = '';\n }\n if (escapeNewL…