Fixed so toc specific anchors pasted from Word is properly retained.