From 2bb612ee07c3bba71ffa99b055895d6a92b80c4b Mon Sep 17 00:00:00 2001 From: Michael Freno Date: Mon, 10 Aug 2026 20:57:11 -0400 Subject: [PATCH] fix(player): render help hint via content prop to avoid escaping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The babel-preset-solid JSX transform HTML-escapes static string children (< > → < >), which opentui renders verbatim — so the "< > seek" hint displayed its entities. Pass the string as the content prop instead, which bypasses the transform. --- src/pages/Player/PlayerPage.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/Player/PlayerPage.tsx b/src/pages/Player/PlayerPage.tsx index 0a1b368..ca6154d 100644 --- a/src/pages/Player/PlayerPage.tsx +++ b/src/pages/Player/PlayerPage.tsx @@ -112,9 +112,13 @@ export function PlayerPage() { /> - - {"P play/pause N next B prev < > seek h back"} - + {/* content prop (not a text child): the babel-preset-solid JSX + * transform HTML-escapes static string children (`<` → `<`), + * which opentui renders verbatim; content bypasses that. */} + seek h back"} + /> );