Skip to navigation
How to convert newline character to a break tag in ruby?
07.12.13
def nl2br(s) s.gsub(/\n/, '
') end
Reply
Anonymous
how to convert newline character to a break tag in ruby?
def nl2br(s) s.gsub(/\n/, '
') end
07.12.13
Reply
Anonymous
Information Epoch 1732374007
Data dominates.
Home
Notebook
Contact us