ci: non-parsable markdown
MODIFY
crates/rome_js_analyze/src/analyzers/nursery/use_anchor_content.rs
crates/rome_js_analyze/src/analyzers/nursery/use_anchor_content.rs
@@ -43,7 +43,10 @@ declare_rule! {
/// ```
///
/// ```jsx
- /// <a dangerouslySetInnerHTML={{ __html: "foo" }} />
+ /// function html() {
+ /// return { __html: "foo" }
+ /// }
+ /// <a dangerouslySetInnerHTML={html()} />
/// ```
///
/// ```jsx

MODIFY
website/src/docs/lint/rules/useAnchorContent.md
website/src/docs/lint/rules/useAnchorContent.md
@@ -100,7 +100,10 @@ Accessible means that the content is not hidden using the `aria-hidden` attribut
```
```jsx
-<a dangerouslySetInnerHTML={{ __html: "foo" }} />
+function html() {
+ return { __html: "foo" }
+}
+<a dangerouslySetInnerHTML={html()} />
```
```jsx

ci: non-parsable markdown (#3428)