decode HTML for new s view