I'm currently developing a little Sinatra Ruby app. For the presentation layer I'm using HAML, which works quite well.
However I have a FAQ page which has longer text paragraphs, which is not a problem. But in some passages I'd like to include links. With pure HTML this is very easy to achieve and is still readable.
<p>
I'm talking about <a href="http://ruby-lang.org">Ruby</a> in this text.
</p>
With HAML I'm stuck with this new paragraphs, which then looks like this:
%p
I'm talking about
%a {:href => 'http://ruby-lang.org'}>Ruby
in this text.
I think this really breaks the workflow.
Is there a way in HAML to just insert a link without using a newline?
I'm talking about\n
– Filip Kis Apr 16 '16 at 10:44