title: rails 3.1 link_to image_tag where image data is embedded as string
body: <p>Ok  I am trying to convert the following  tag into a link_to statement that rails can understand.  can anyone send me in the right direction</p>
  
  <p>I'm trying to convert this:</p>
  
  <pre><code>&lt;li class="topmenu"&gt;&lt;a href="/history" style="height:24px;line-height:24px;"&gt;&lt;img src="data:image/png;base64,iVBORw0KGgoAAAANSU.........." alt="History"/&gt;History&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Into something like this:</p>
  
  <pre><code>&lt;li class="top menu"&gt;&lt;%= link_to "History" + image_tag(data:image/png;base64,iVBORw0KGgoAAAANSU..........) %&gt;&lt;/li&gt;
  </code></pre>
  
  <p>The above code obviously doesn't work, but there has to be a way.  any ideas</p>