Skip to content

Web/PWA: bold and heading text render at the same font weight/size as regular text (markdown parsed, no visual emphasis) #1697

Description

@temporaryna

What version of HAPI is running?

0.29.0

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

In the web/PWA chat view, markdown bold in agent replies is parsed — the asterisks are stripped — but the text renders at the same font weight as regular text. There is no visual emphasis at all; a bold word is indistinguishable from the surrounding text. Markdown headings (###) are affected too: they render at the same size/weight as body text instead of being larger/bolder. Reproduced in the PWA on Android Chrome and in a desktop browser against a self-hosted hub.

What steps can reproduce the bug?

  1. Start a hapi-wrapped Claude Code session (hapi), open the same session in the web UI / PWA.
  2. Send this prompt:
Reply with exactly one message following the template below, no intro, no explanations:

A plain baseline line.

A line with a **bold word** inside.

A line with an *italic word* inside.

A line with `inline code` inside.

**An entire fully bold line.**

Mixed: plain **bold** plain *italic* plain `code` plain.

- list: **bold item**
- plain item

### Mini heading

> A quote with a **bold** word.
  1. Compare the reply in the terminal vs the web/PWA chat view.

Terminal (bold is visibly bold):

Image

Web/PWA (bold looks identical to plain text; asterisks are gone):

Image

What is the expected behavior?

Bold renders with a heavier font weight, as it does in the terminal UI. Markdown parsing already works (asterisks are stripped), so only the visual styling for strong/bold appears to be missing.

Additional information

The asterisks being stripped suggests the markdown parser runs — the issue looks purely presentational. Headings are confirmed flat as well (see screenshots: ### Mini heading renders like a plain line), so the problem seems to be that message typography in general has no visual hierarchy; bold is just the most obvious case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions