nant / nantcontrib

NAntContrib is the project for tasks and tools that haven't made it into the main NAnt distribution yet or for whatever reason don't belong there.
nantcontrib.sourceforge.net
GNU Lesser General Public License v2.1
51 stars 35 forks source link

Remove # prefix from NUnit2Report anchor names #20

Closed rbirkby closed 12 years ago

rbirkby commented 12 years ago

The NUnit2Report task generates <a name="#..."> anchor names. This is invalid, as the href should contain the #, not the anchor name.

This bug causes Google Chrome to ignore the anchors when the link is clicked (except if you directly edit the URL in the browser address bar and add a second # character).

This pull request removes the errant #.

rmboggs commented 12 years ago

Makes sense to me. I'll import on Thursday unless there are any objections.

rmboggs commented 12 years ago

Committing this change now.