I have a code that needs to be split into two lines so it looks nice. However when I try:
link_to "Some Text<br />Here",url_path
it will output the HTML too, even if I use html.html_safe like so:
html = ""
html += link_to "Some Text<br />Here",url_path
html.html_safe
How can I make it so "Here" will appear on a new line?
link_to "Some Text<br />Here".html_safe, url_path
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With