replace_html doesn't do what I thought