passing in htmlurl instead of htmltxt for the event