Skip to content

Conversation

glenchao
Copy link
Contributor

Based on the docs, draggable is an enumerated attribute and not Boolean. A value of true or false is mandatory.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable

Currently, render-to-string renders as <img draggable /> (incorrect) instead of <img draggable="true" /> (correct).

@changeset-bot
Copy link

changeset-bot bot commented Mar 23, 2023

🦋 Changeset detected

Latest commit: 0dfd5de

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-render-to-string Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock merged commit 0b04860 into preactjs:master Mar 24, 2023
@github-actions github-actions bot mentioned this pull request Mar 24, 2023
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

Successfully merging this pull request may close these issues.

2 participants