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

Command line option to generate HTML report with expanded sections #377

Closed
orzelmichal opened this issue Feb 9, 2024 · 0 comments · Fixed by #385
Closed

Command line option to generate HTML report with expanded sections #377

orzelmichal opened this issue Feb 9, 2024 · 0 comments · Fixed by #385
Assignees
Labels

Comments

@orzelmichal
Copy link

Description

At the moment, in the generated HTML report, all the sections are folded and require a user to click on a widget to change the state from closed to open (attributes of <details>). It would be great to add support in the form of a command line parameter, to generate
a report with all the sections expanded by default i.e. <details open>. This is especially useful if one wants to convert HTML to PDF,
where the ability to expand the sections is no longer preserved.

Intermediate solution

After generating a HTML report, do:
sed -i 's/<details>/<details open>/g' <html_file>

@kaklakariada kaklakariada self-assigned this Feb 15, 2024
kaklakariada added a commit that referenced this issue Feb 16, 2024
)

Co-authored-by: kaklakariada <kaklakariada@users.noreply.github.com>
Co-authored-by: kaklakariada <christoph@users.sourceforge.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants