diff --git a/modules/home/code-line.tsx b/modules/home/code-line.tsx
index a523d2b..894193a 100644
--- a/modules/home/code-line.tsx
+++ b/modules/home/code-line.tsx
@@ -22,15 +22,14 @@ const escapeHtml = (unsafe: string) => {
const highlight = (text: string) => {
const escaped = escapeHtml(text);
- const highlighted = escaped;
// Comments (simple // for now)
- if (highlighted.includes('//')) {
- const parts = highlighted.split('//');
+ if (escaped.includes('//')) {
+ const parts = escaped.split('//');
return <>{'//' + parts[1]}>;
}
- return ;
+ return ;
};
export const CodeLine = ({ line }: { line: string }) => {