[HTML] Fix wrong assumption (VARIANT_TRUE == TRUE).