From 10400ff13029af8f752571d269bcfa58f2f702e6 Mon Sep 17 00:00:00 2001 From: zhizheng Date: Thu, 5 Jun 2025 01:32:31 +0800 Subject: [PATCH] fix(www): quotes in markdown image alt causing html issues #3002 (#3003) ## Problem: The problem was reproduced as described in #3002. Chrome DevTools shows the following error: props.js:137 Uncaught (in promise) InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': 'docs-content""' is not a valid attribute name. at j (props.js:137:8) at V (index.js:528:5) at O (index.js:326:28) at I (children.js:97:16) at V (index.js:547:4) at O (index.js:326:28) at I (children.js:97:16) at V (index.js:547:4) at O (index.js:326:28) at I (children.js:97:16) ## Solution: The issue was resolved by removing the double quotes around docs-content in the Markdown image description. After this change, the application resumed normal operation. ## Test: Deno task ok and local env check ## Close: close #3002 --- docs/latest/concepts/partials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/latest/concepts/partials.md b/docs/latest/concepts/partials.md index 46372c03..559cab42 100644 --- a/docs/latest/concepts/partials.md +++ b/docs/latest/concepts/partials.md @@ -76,7 +76,7 @@ Let's use a typical documentation page layout as an example. It often features a main content area and a sidebar of links to switch between pages of the documentation (marked green here). -![A sketched layout of a typical documentation page with the sidebar on the left composed of green links and a main content area on the right. The main content area is labeled as Partial "docs-content"](/docs/fresh-partial-docs.png) +![A sketched layout of a typical documentation page with the sidebar on the left composed of green links and a main content area on the right. The main content area is labeled as Partial docs-content](/docs/fresh-partial-docs.png) The code for such a page (excluding styling) might look like this: