diff --git a/docs/app/changelogs/_components/default-changelog.tsx b/docs/app/changelogs/_components/default-changelog.tsx index c6f4d0fa91..d15f9ebc9c 100644 --- a/docs/app/changelogs/_components/default-changelog.tsx +++ b/docs/app/changelogs/_components/default-changelog.tsx @@ -42,7 +42,7 @@ const ChangelogPage = async () => { function getContent(content: string) { const lines = content.split("\n"); const newContext = lines.map((line) => { - if (line.startsWith("- ")) { + if (line.trim().startsWith("- ")) { const mainContent = line.split(";")[0]; const context = line.split(";")[2]; const mentions = context @@ -65,13 +65,13 @@ const ChangelogPage = async () => { } return ( -
+
- + -
-

+
+

All of the changes made will be{" "} available here.

@@ -80,8 +80,8 @@ const ChangelogPage = async () => { that provides a wide range of features to make authentication easier and more secure.

-
-
+
+
{

-
+
-
+
{ > {props.children?.toString().split("date=")[0].trim()} -

+

{props.children?.toString().includes("date=") && props.children?.toString().split("date=")[1]}

), h3: (props) => ( -

+

{props.children?.toString()?.trim()}

@@ -189,7 +189,7 @@ const ChangelogPage = async () => { ), img: (props) => ( @@ -218,7 +218,7 @@ export function Glow() { let id = useId(); return ( -
+
-
+
); }