fixed bug where adding an href gets confused with an assignment = in a write