HtmlTestRunner
HtmlTestRunner copied to clipboard
Adding line breaks or newline support
- HtmlTestRunner version: 1.2.1 acc. Anaconda Environment List
- Python version: 3.7.1
- Operating System: Windows
Description
When I add some "print(InfoForDocumentation)" commands linebreak, newline, '\n' etc. are ignored. This leads to a hard to read documentation.
What I Did
As designed the print-based output can be seen when the "view" button is used. But: everything is on one line. So e.g. the call, the parameters, or other things that should/could be saved are a little lo-fi for the human reader. I know that this text formatting can be enhanced to the infinite. But at least keeping newlines that become passed with a print-statement could be a quick fix.
'<br/>' works for me if I want to get the text on a new line in the report.