Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix docs toc (#30845)

Joshen Lim9fae4caed2b4
diff --git a/apps/docs/components/GuidesTableOfContents.tsx b/apps/docs/components/GuidesTableOfContents.tsx
index af1b92852ec..4b9a8f378e2 100644
--- a/apps/docs/components/GuidesTableOfContents.tsx
+++ b/apps/docs/components/GuidesTableOfContents.tsx
@@ -32,6 +32,10 @@ const formatTOCHeader = (content: string) => {
begin = false
res.push(`</code>`)
}
+ } else if (x === '<') {
+ res.push('&lt')
+ } else if (x === '>') {
+ res.push('&gt')
} else {
res.push(x)
}