v2.0.0
Loading...
Searching...
No Matches
report.cpp File Reference

Implementation of UTILSLIB::Report — builds the HTML scaffolding, escapes user content and writes the file to disk. More...

#include "report.h"
#include <QFile>
#include <QTextStream>
#include <QDebug>
#include <QDateTime>
Include dependency graph for report.cpp:

Go to the source code of this file.

Detailed Description

Implementation of UTILSLIB::Report — builds the HTML scaffolding, escapes user content and writes the file to disk.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.1
Date
May 2026

HTML is assembled by streaming QString concatenations directly into the section vector; no DOM model is kept in memory. All caller-supplied strings are HTML-escaped before being injected to avoid markup leakage from arbitrary file names or stack traces that the application chooses to record in the report.

Definition in file report.cpp.