html to enml conversion