added inner HTML check