-
Notifications
You must be signed in to change notification settings - Fork 243
Strings in angle brackets are deleted from report #740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
My guess: Angle brackets are what defines HTML tags, so what you are probably seeing is rendered HTML. If the code inside your angle brackets is not valid HTML it will just be ignored by the browser, making it seem like it just disappered. |
I would expect |
The boring answer is "it depends". Can you share some code that I can use to repro what you're seeing? Preferably with a screenshot of what the result is. |
The boring answer is "it depends".
Can you share some code that I can use to repro what you're seeing? Preferably with a screenshot of what the result is.
I have already attached code to reproduce as well as html output from the code.
|
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
The text was updated successfully, but these errors were encountered: