Skip to content

Commit 2aedccd

Browse files
flurmbowooorm
authored andcommitted
Add quotes around attribute value
Related to GH-15. Closes GH-16. Reviewed-by: Titus Wormer <[email protected]>
1 parent d329760 commit 2aedccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ reflected as a `hidden` property name set to the property value `true`, and
264264
> In [JavaScript][], both `null` and `undefined` must be similarly ignored.
265265
266266
The DOM is strict in reflecting HTML and hast is not.
267-
Where the DOM treats `<div hidden=no></div>` as having a value of `true` and
267+
Where the DOM treats `<div hidden="no"></div>` as having a value of `true` and
268268
`<img width="yes">` as having a value of `0`, these should be reflected as
269269
`'no'` and `'yes'`, respectively, in hast.
270270

0 commit comments

Comments
 (0)