Closed prasad83 closed 9 years ago
Angularjs adds "/" to hash tags having # by default, adding target helps for self-referencing links on the page.
// Add the list item $("<li/>").appendTo(stack[0]).append( $("<a/>").text(elem.text()).attr("href", "#" + elem.attr("id")).attr("target", "_self") ); </pre>
target="_self" is the default. If another library or framework changes that behavior, you need to handle that elsewhere.
target="_self"
This is not an issue with the toc plugin.
Angularjs adds "/" to hash tags having # by default, adding target helps for self-referencing links on the page.