handle html tags in the ruby code