HG-71 add handling for anchors that wrap other elements
Merge pull request #81 from Wikia/HG-71

HG-71 add handling for anchors that wrap other elements