explode self-closed tag correctly