Closed
Description
Describe the bug
qhelpgenerator crashes with some doxygen-generated qhp files on big projects with a lot of nested classes. This is because there are lines in the file that are too long (12.000 indentation spaces before the content in the line starts, and that is repeated on every line).
Expected behavior
It would be nice to have a Doxyfile flag to strip leading spaces after generating the index.qhp file, before running qhelpgenerator. Even if it makes the file less correct from the indentation point of view.
Screenshots
qhelpgenerator index.qhp
Error in line 134919: Premature end of document.
# Let us strip spaces, see https://stackoverflow.com/questions/59715196/how-can-i-efficiently-remove-unnecessary-whitespace-from-xml-files-with-a-linux
sed -i -e '/^ */s///' -e '/ *$/s///' index.qhp
qhelpgenerator index.qhp
...
Documentation successfully generated.
To Reproduce
Download index.qhp.gz and run qhelpgenerator on it.
Version
Doxygen 1.9.4 (9948297*)
Qt Help Generator version 1.0 (Qt 4.8.7)
Additional context
This documentation is generated within the ROOT project of CERN.