[ruby-it] Sostituzione di "a capo" con <br />
Andrea (Q)
q a ptumpa.com
Ven 29 Maggio 2009 13:52:42 CEST
dovrebbe essere new lin "\n"
text.replace("\n","<br />") o qualche cosa del genere
On 29 May 2009, at 12:48, Luigi Maresca wrote:
> Salve ragazzi,
> è possibile effettuare la sostituzione automatica, in un testo
> inserito
> in textarea, degli "a capo" , da tastiera, con il tag html <br />.
>
> Grazie sempre per l'aiuto!
>
> Luigi
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ml mailing list
> Ml a lists.ruby-it.org
> http://lists.ruby-it.org/mailman/listinfo/ml
More information about the Ml
mailing list