From f3ef3a4543d05a410a7969bbb1f0e3aee7bff157 Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Sun, 2 Nov 2025 02:39:03 -0800 Subject: [PATCH] Update setInnerContent syntax in html-rewriter.mdx `` doesn't seem to work over multiple lines broken during a reformatting refactor? --- src/content/docs/workers/runtime-apis/html-rewriter.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.