Skip to content

Commit 515ef02

Browse files
committed
Fix readme.md
1 parent 3fa5f4b commit 515ef02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ If `options` is a [VFile][], it’s treated as `{file: options}`.
6464
Whether the root of the given tree is in the `'html'` or `'svg'` space (enum,
6565
`'svg'` or `'html'`, default: `'html'`).
6666

67-
If an `svg` element is found in the HTML space, `toHTML` automatically switches
68-
to the SVG space when entering the element, and switches back when leaving.
67+
If an element in with the SVG namespace is found in `ast`, `fromParse5`
68+
automatically switches to the SVG space when entering the element, and
69+
switches back when leaving.
6970

7071
###### `options.file`
7172

0 commit comments

Comments
 (0)