Skip to content

fix(site): render times as unicode instead of HTML entity#279

Merged
EtanHey merged 2 commits into
mainfrom
claude/fix-issue-um6a7
May 6, 2026
Merged

fix(site): render times as unicode instead of HTML entity#279
EtanHey merged 2 commits into
mainfrom
claude/fix-issue-um6a7

Conversation

@EtanHey
Copy link
Copy Markdown
Owner

@EtanHey EtanHey commented May 6, 2026

The JSX parser wasn't decoding the ✓ and × named entities,
so they were leaking through as literal text on brainlayer.etanheyman.com.
Use the actual ✓ and × characters.

https://claude.ai/code/session_01NmYMFxKaRteEJgx2QroV54


Note

Low Risk
Low risk UI-only change that swaps an HTML entity for a Unicode character; no behavioral, data, or security impact.

Overview
The Comparison component now renders the times icon using the literal Unicode × character instead of the × HTML entity, preventing the entity text from leaking into the UI.

Reviewed by Cursor Bugbot for commit c864760. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Render times symbol as unicode character in Comparison component

Replaces the HTML entity × with the literal × character in comparison.tsx. This ensures the symbol renders correctly regardless of HTML entity parsing context.

Macroscope summarized c864760.

Summary by CodeRabbit

  • Style
    • Updated comparison section icons with improved visual symbols for enhanced readability.

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

📝 Walkthrough

Walkthrough

Two HTML entity icons in a comparison component are replaced with Unicode equivalents: × becomes × and ✓ becomes . No functional changes.

Changes

UI Icon Updates

Layer / File(s) Summary
Icon Characters
site/components/comparison.tsx
HTML entities × and ✓ replaced with Unicode characters × and in two list items.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A rabbit hops through HTML's old ways,
Swaps entities for Unicode's brighter days,
With × and ✓ in pristine form,
The comparison shines, fresh and warm!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The PR title accurately describes the main change: replacing HTML entities (×, ✓) with Unicode characters (×, ✓) in the comparison UI component.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/fix-issue-um6a7

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Follow-up to nonZero's ✓ fix — the same JSX entity issue applies
to the × (×) on the "Without BrainLayer" side, which was rendering
as literal "×" text. Replace with the Unicode × character.

https://claude.ai/code/session_01NmYMFxKaRteEJgx2QroV54
@EtanHey EtanHey force-pushed the claude/fix-issue-um6a7 branch from b152af2 to 3ad037c Compare May 6, 2026 12:17
Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@EtanHey EtanHey changed the title fix(site): render check/times as unicode instead of HTML entities fix(site): render times as unicode instead of HTML entities May 6, 2026
@EtanHey EtanHey changed the title fix(site): render times as unicode instead of HTML entities fix(site): render times as unicode instead of HTML entity May 6, 2026
Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@EtanHey EtanHey merged commit 2d934bd into main May 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants