Embedded HTML in link_to body in Rails February 16, 2023 by Tarik Try it this way <%= link_to(raw("a <strong>strong</strong> link"),{:pics => true},{ :class => 'highlight'}) %>