HTML export debug