Skip to content

Fail to set a boolean attribute #389

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

Open
kingyue737 opened this issue May 14, 2025 · 0 comments
Open

Fail to set a boolean attribute #389

kingyue737 opened this issue May 14, 2025 · 0 comments

Comments

@kingyue737
Copy link

Source

[sample](https://pdfobject.com/pdf/sample.pdf){download}

Expected

<a src="https://pdfobject.com/pdf/sample.pdf" download>sample</a>

Actual

<a src="https://pdfobject.com/pdf/sample.pdf" download="true">sample</a>

This download="true" overrides the filename unexpectedly.

Reproduction

I want to reproduce it in online playground mentioned in README but failed, the stackblitz crashed once the dev server started

Image

I'm on Windows using Edge 136.0.3240.64

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

1 participant