Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
erb question
yuesefa
9/26/2006 12:09:00 AM
<%="ab\r\ncd\r\nef"%> #this is the code
what i want is
ab
cd
ef
but the code above just give me
ab cd ef
is there any method i can turn the string into html code? thanks :-)
1 Answer
Paul Lutus
9/26/2006 1:03:00 AM
0
Haofei wrote:
> <%="ab\r\ncd\r\nef"%> #this is the code
>
> what i want is
>
> ab
> cd
> ef
>
> but the code above just give me
>
> ab cd ef
>
> is there any method i can turn the string into html code? thanks :-)
<%="ab<br>cd<br>ef"%>
--
Paul Lutus
http://www.ara...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
erb question
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password