<%=“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\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 
Haofei wrote:
ab cd ef
is there any method i can turn the string into html code? thanks
<%=“ab
cd
ef”%>
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs