Replace line breaks by br tags in as_html