Introduce rowToHtml mode