fix elt_id not updated for <pre> tag