Revision: 55445
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 7, 2012 07:40 by kajinka13
Initial Code
function return2br(dataStr) { return dataStr.replace(/( |\r|\n)/g, "<br />"); }
Initial URL
Initial Description
Converte tutti gli \n in <br>
Initial Title
Converte tutti i newline in tag br
Initial Tags
javascript, replace
Initial Language
JavaScript