Inline HAML Links but with content
haml, ruby-on-rails, view
Solution
If you want to do a 1 liner:
%p= "Hello, this is my text. #{link_to 'Link here', '#'} This is more text".html_safe
Multiline
%p
Hello, this is my text.
= link_to 'Link here', '#'
This is more text
Problem
I am trying to output something along the lines of ``` <p>Hello, this is my text. <a href="#">Link here</a> This is more text</p> ``` but using HAML How would this be done? I keep finding examples but none that show how to do it but with plain text either side of the link? Neil