support for elements as anchors
Merge pull request #264 from NickQiZhu/anchor

support for elements as anchors