Replace pre with div