diff --git a/src/content/docs/workers/runtime-apis/html-rewriter.mdx b/src/content/docs/workers/runtime-apis/html-rewriter.mdx index 02f5eb3bef8a067..d44fe5c50ccd073 100644 --- a/src/content/docs/workers/runtime-apis/html-rewriter.mdx +++ b/src/content/docs/workers/runtime-apis/html-rewriter.mdx @@ -169,9 +169,7 @@ The `element` argument, used only in element handlers, is a representation of a Element - Removes the element and inserts content in place of it. -- - setInnerContent(contentContent, contentOptionsContentOptionsoptional) - +- `setInnerContent(contentContent, contentOptionsContentOptionsoptional)` : Element - Replaces content of the element.