Use OutputContext instead for m_isHTML5 flag