Skip to content

Instantly share code, notes, and snippets.

@unnitallman
Created April 20, 2012 06:30
Show Gist options
  • Save unnitallman/2426598 to your computer and use it in GitHub Desktop.
Save unnitallman/2426598 to your computer and use it in GitHub Desktop.
Custom html in link text using link_to
=link_to "http://google.co.in" do
Hello
<i class="icon-search icon-white">Unni</i>
<b> World </b>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment