A common pattern while creating links is adding a help link in between parentheses. Something like this:
<div>(<a href="help">more help</a>)</div>
In haml, the best way I found some ways to write it (using the link_to
rails helper):
%div
(
= link_to('help')
)
or
%div
= raw "(#{link_to("help")})"
But both seems hard to read. How can I write it better?