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 1736308112
Portable data is as important as portable code.
Home
Notebook
Contact us