doc: enhance containsHtml() description