title: MVC 4, HTML input tag throwing "unterminated string constant"
body: <p>Hi I get this error whenever i try to create a button in html.
  Error: "Unterminated string constant"
  Here's the code:</p>
  
  <pre><code>&lt;input id="topImageNavigationPreviousButton" type="button" value="Previous" class="inline" onclick="location.href='@Url.Action("Index", "Home", new { id = (id + (startIndex - endIndex) + 1) })'"/&gt;
  </code></pre>
  
  <p>I'm using MVC 4 Razor.
  Please tell me if you want me to post more of my code :)</p>
  
  <p>(PS: can someone tell me how i can linebreak that code? Tried <code>&lt;br/&gt;</code>)</p>