Make sure debug logs are HTML-escaped. Kind of strange that ansi_up doesn't do this by default.