Ver original<script> var Z32 = new RegExp("\n",'gi');Texto = Texto.replace(Z32,"<span>\</span>n"); var ZNEW = new RegExp("\t",'gi');Texto = Texto.replace(ZNEW,"<span>\</span>t"); </script>