Skip to content

Commit f3ef3a4

Browse files
authored
Update setInnerContent syntax in html-rewriter.mdx
`<code>` doesn't seem to work over multiple lines broken during a reformatting refactor?
1 parent 81edf34 commit f3ef3a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/content/docs/workers/runtime-apis/html-rewriter.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ The `element` argument, used only in element handlers, is a representation of a
169169
Element
170170
- Removes the element and inserts content in place of it.
171171

172-
- <code>
173-
setInnerContent(contentContent, contentOptionsContentOptionsoptional)
174-
</code>
172+
- `setInnerContent(contentContent, contentOptionsContentOptionsoptional)`
175173
: Element
176174
- Replaces content of the element.
177175

0 commit comments

Comments
 (0)