cppcheck/htmlreport
Cilyan Olowen 8b76a109ce
Fix invalid css selectors in htmlreport (#3989)
Some plugins of cppcheck may use error ids that are not valid css
selectors. When the javascript script of htmlreport tries to use these
ids as selectors to display/hide categories of errors, this produces an
error inside the user's browser. The solution is to transform the error
ids that will be used as selectors in order to remove the invalid
characters. This transformation doesn't apply to what is displayed,
so that from a reader point of view, nothing is changed.

Signed-off-by: Cilyan Olowen <gaknar@gmail.com>
2022-04-08 21:12:26 +02:00
..
README.txt
check.sh
cppcheck-htmlreport
example.cc
example.xml
requirements.txt
setup.py Improve Python code 2017-06-04 22:51:48 +02:00
test_htmlreport.py
test_suppressions.txt
tox.ini

README.txt

cppcheck-htmlreport

This is a little utility to generate a html report of a XML file produced by
cppcheck.

The utility is implemented in Python (2.7+) and requires the pygments module
to generate syntax highlighted source code.
If you are using a Debian based Linux system, the pygments package can be 
installed by following command:
$ sudo apt-get install python-pygments

For more information run './cppcheck-htmlreport --help'