add logic so that valid a tags are not stripped by WordFilter
incorporate end/footnote anchor fix with toc fix
merged in changes from upstream master
added tests for changed link handling in paste word filter
Merge pull request #362 from nschoenholtz/stop-removing-valid-a-tags

Add logic so that valid a tags are not stripped by WordFilter