Skip to content
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

Adding line breaks or newline support #82

Open
DoctorMG opened this issue Mar 18, 2021 · 1 comment
Open

Adding line breaks or newline support #82

DoctorMG opened this issue Mar 18, 2021 · 1 comment

Comments

@DoctorMG
Copy link

  • 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.

@dragojs
Copy link

dragojs commented May 13, 2021

'<br/>' works for me if I want to get the text on a new line in the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants