title: Learning Rails: Create link to named route with only text in nested span
body: <p>For the life of me, I can't figure out (or find the right text to search) how to create a link that looks like this:</p>
  
  <pre><code>&lt;a href="/publisher" class="button first"&gt;&lt;span&gt;This text will be hidden&lt;/span&gt;&lt;/a&gt;
  </code></pre>
  
  <p>There's a similar example in the <code>link_to</code> API, but it doesn't quite get to what I need. I don't want my anchor tag to have any text (all text will reside in the nested <code>span</code>) and I want to link to a route named <code>publisher_root</code>.</p>
  
  <p>I'm tired of banging my head on this, so any help would be much appreciated.</p>
  
  <p>UPDATE: As mentioned in my comment below, HAML is also in play here. I eliminated it originally because it seemed like nothing more than an additional complexity. Since it appears to be at the crux of the issue, though, I've added the tag and here's my code:</p>
  
  <pre><code>#masthead.container
    %h1
      != image_tag( 'home-masthead.png' )
    %p
      - link_to publisher_root, :class =&gt; 'button first' do
        %span Link Text
  </code></pre>