/ Published in: Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.gsub(/\n>/, "\n").gsub(/\n([^\n])/, '\1').gsub(/\n\n/, "\n")