Improve the <ruby> snippet