replace html5 with ruby programming