In one of my templates, I have a small jquery-based tab box. The tab box's navigation relies on anchors to function, so I have something similar to this in the template:
<ul class="tabNavigation">
<li><a class="selected" href="#first">$Tab1Title</a></li>
<li><a class="" href="#second">$Tab2Title</a></li>
<li><a class="" href="#third">$Tab3Title</a></li>
<li><a class="" href="#fourth">$Tab4Title</a></li>
</ul>
unfortunately, whenever SilverStripe parses this template, it adds a slash, '/' to my anchors, which breaks my javascript tabs. Is this a bug or some kind of option that I can turn off in SilverStripe?
When I view the source in my web browser I see this:
<ul class="tabNavigation">
<li><a class="selected" href="/#first">$Tab1Title</a></li>
<li><a class="" href="/#second">$Tab2Title</a></li>
<li><a class="" href="/#third">$Tab3Title</a></li>
<li><a class="" href="/#fourth">$Tab4Title</a></li>
</ul>
Thanks!