Removes <a> tag from block elements

Removes <a> tag from block elements in order to prevent the tree to be corrupted when using a block-level element inside <a> tags (valid HTML5).