Replace pure HTML links with anchor_element()