I would like to insert a break after any text before few or one img tag:
I have a text:
Some text, some text <img src="thumb.jpg" /><img src="thumb2.jpg" />
I would like to get:
Some text, some text <br /><img src="thumb.jpg" /><img src="thumb2.jpg" />
I would like to make it through the regular expression in Ruby using the gsub method.
tag. – coolmine Mar 25 '13 at 12:51