Skip to content

Commit d543d29

Browse files
committed
Fix example
1 parent b71a526 commit d543d29

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
@@ -198,7 +198,7 @@ in a browser.
198198
```js
199199
/** @type {import('mdast-util-heading-range').Handler} */
200200
function handler(start, nodes, end) {
201-
return [start, {type: 'html', value: 'alert(1)'}, end]
201+
return [start, {type: 'html', value: '<script>alert(1)</script>'}, end]
202202
}
203203
```
204204

0 commit comments

Comments
 (0)