bemhtml: re-entrant BEMContext