He probado con :
var texto = (unescape(texto));
texto = texto.replace(/+/g,' ');
pero no me sale.
¿alguna sugerencia?
Mil gracias !
Cita:
var texto = (unescape(texto));
texto = texto.replace(/+/g,' ');
ventana.document.write('<html><head><meta http-equiv="ImageToolbar" content="no"><title>' + titulo + '</title></head><body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0">' + texto + '<img src="' + cual + '" onLoad="opener.redimensionar(this.width, this.height)">')
var texto = (unescape(texto));
texto = texto.replace(/+/g,' ');
ventana.document.write('<html><head><meta http-equiv="ImageToolbar" content="no"><title>' + titulo + '</title></head><body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0">' + texto + '<img src="' + cual + '" onLoad="opener.redimensionar(this.width, this.height)">')