From 059848f8b0ae36e3a8fb4bd6fd3cda8531e5dce7 Mon Sep 17 00:00:00 2001
From: Abhi <31253403+abhiy13@users.noreply.github.com>
Date: Mon, 14 Jul 2025 08:00:38 +0000
Subject: [PATCH] fix(rss): add cdata to escape html content for rss feed (#2046)

---
 docs/advanced/creating components.md |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/docs/advanced/creating components.md b/docs/advanced/creating components.md
index 369405b..84e0380 100644
--- a/docs/advanced/creating components.md
+++ b/docs/advanced/creating components.md
@@ -226,9 +226,11 @@
 As Quartz components are just functions that return React components, you can compositionally use them in other Quartz components.
 
 ```tsx title="quartz/components/AnotherComponent.tsx"
-import YourComponent from "./YourComponent"
+import YourComponentConstructor from "./YourComponent"
 
 export default (() => {
+  const YourComponent = YourComponentConstructor()
+
   function AnotherComponent(props: QuartzComponentProps) {
     return (
       <div>

--
Gitblit v1.10.0