add console.log

This commit is contained in:
Robert Richter 2019-12-28 11:40:26 +01:00
parent ebeb6e9975
commit 2bd6db348e

View File

@ -69,7 +69,7 @@ function break_text_15(text){
new_text = text.replace(/.{15}(\s+|\-+)+/g, "$&@") new_text = text.replace(/.{15}(\s+|\-+)+/g, "$&@")
new_text = new_text.split(/@/); new_text = new_text.split(/@/);
new_text= new_text.join("<br>"); new_text= new_text.join("<br>");
console.log(new_text); //console.log(new_text);
return new_text; return new_text;
}; };
@ -78,7 +78,7 @@ function break_text_35(text){
var new_text; var new_text;
new_text = text.replace(/.{50}\S*\s+/g, "$&@").split(/\s+@/); new_text = text.replace(/.{50}\S*\s+/g, "$&@").split(/\s+@/);
new_text= new_text.join("<br>"); new_text= new_text.join("<br>");
console.log(new_text); //console.log(new_text);
return new_text; return new_text;
}; };