Changed replace from a filter to a tag