title: Anchor link jumping me to document root in Xenforo
body: <p>I have an issue with what ought to be a very simple task: Create a BBCode tag to create a text anchor, and create another to jump to that text anchor.</p>
  
  <p>However, something is going on, and it's causing my anchors to jump to the root of the website.</p>
  
  <p>Here's the HTML generated by the BBCode:</p>
  
  <pre><code>&lt;div id="section1"&gt;Section Header&lt;/div&gt;
  &lt;a href="#section1"&gt;Goto Section Header&lt;/a&gt;
  </code></pre>
  
  <p>However, when it's in the live page, clicking it will jump me to root of the website rather than the current page.  This is tested in Firefox and Chrome.  I don't know what I'm missing.</p>
  
  <p>Here is a live sample page with the BBCode in use (text search section1 in the source for the anchors).  <a href="http://community.playstarbound.com/index.php?help/bb-codes" rel="nofollow">http://community.playstarbound.com/index.php?help/bb-codes</a></p>
  
  <p>As you can see, clicking on the link under "Goto" will take you to <a href="http://community.playstarbound.com/#section1" rel="nofollow">http://community.playstarbound.com/#section1</a> instead of <a href="http://community.playstarbound.com/index.php?help/bb-codes#section1" rel="nofollow">http://community.playstarbound.com/index.php?help/bb-codes#section1</a> as expected.</p>
  
  <p>Is there anything external to this div and anchor tag that can cause this?</p>