fix to prevent removing empty anchor tags - v0.1.7