Closed SimonLab closed 5 years ago
ref: https://github.com/club-soda/club-soda-guide/issues/628#issuecomment-538442646
The Phoenix function text_to_html create new paragraph if there is 2 or more line breaks, however it will trim empty paragraphs. So instead I'm using the helper function used for the venues add_line_breaks which will create <br> for every new lines
text_to_html
add_line_breaks
<br>
ref: https://github.com/club-soda/club-soda-guide/issues/628#issuecomment-538442646
The Phoenix function
text_to_html
create new paragraph if there is 2 or more line breaks, however it will trim empty paragraphs. So instead I'm using the helper function used for the venuesadd_line_breaks
which will create<br>
for every new lines