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

Desktop: Resolve #6254: <details> elements remain closed when exporting to PDF #7515

Merged
merged 8 commits into from
Dec 27, 2022
Merged

Conversation

gtlsgamr
Copy link
Contributor

@gtlsgamr gtlsgamr commented Dec 22, 2022

When exporting a note to pdf, any <details> tags remain closed, which should not be expected behaviour since the data inside them will not be visible.
This PR opens the tags before printing the pdf and closes them once it is done, thus solving #6254

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@gtlsgamr
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@gtlsgamr
Copy link
Contributor Author

recheck

Copy link
Contributor Author

@gtlsgamr gtlsgamr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed the unnecessary closing.

@laurent22
Copy link
Owner

All good now, thanks!

@laurent22 laurent22 merged commit 8e2e7ec into laurent22:dev Dec 27, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 27, 2022
@laurent22
Copy link
Owner

I shouldn't have merged since the code doesn't pass the linter. Next time please don't commit directly from GitHub because the precommit script doesn't run here.

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

Successfully merging this pull request may close these issues.

3 participants