Skip to content

Commit 05ee909

Browse files
committed
fix(www): use dangerouslySetInnerHTML in showcase-linear to avoid [object Object]
1 parent d8a1c19 commit 05ee909

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

www/app/routes/index/showcase-linear.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ export function renderShowcase(
177177
</div>
178178
<div
179179
class="showcase-body"
180-
innerHTML={{ __html: codeSamples[activeTab] }}
180+
// ponytail: trustRenderHtml is the framework's explicit trust
181+
// boundary for pre-sanitized static HTML in SSR output.
182+
dangerouslySetInnerHTML={{ __html: codeSamples[activeTab] }}
181183
/>
182184
</open-card-linear>
183185
</div>

0 commit comments

Comments
 (0)