Any string enclosed in angle brackets "<>", where the first character after the opening bracket is not blank, is removed from the output html report. Sometimes strange effects also occur, as it is the case in example #8 with the insertion of a double-quotes character.
pytest-html v. 4.0.1
pytest 7.4.2
pytest-html-bug.tar.gz