Skip to content

[Feature] Open HTML pages in preview like mardown #5427

Description

@MayankBansal12

The workflow

When I click a HTML file link in chat, I want to read the rendered page in bb's side panel but currently it opens code file

What happens today

With File Editor enabled, clicking an HTML file opens its source code instead of the rendered page.

To reproduce:

  1. Enable File Editor and leave the .html file opener set to Automatic.
  2. Ask an agent to create a small HTML page and return a link to the file.
  3. Click the link in chat.

The workaround is to choose Built-in preview for .html in Settings → File openers.

What you would expect

HTML files should open in Preview by default, like Markdown. The same Preview / Raw button should let me switch between the page and its source code.

Context and alternatives

BB already has an HTML viewer. The main change is to use it by default for .html and .htm files instead of File Editor. Markdown received the same change in PR #5054.

PR #5426 implements this. It also makes HTML previews work from the file picker on the New thread screen.

As with the Markdown change, File Editor will no longer be a choice for HTML in Settings or the Open with menu. Existing choices will fall back to Preview. HTML can still be edited from File Editor's own file tree.

The problem was reported with BB CLI 0.46.0 on Linux. Tests reproduced the relevant problems on commit e9dafb6c0; the fix was checked in Chromium. No exact duplicate issue was found.

AGENT GENERATED

Activity

  1. added
    ui
    on Oct 13, 2026
  2. bb-slop-cop commented on Oct 13, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied classification: Type: Feature · Priority: Low · Effort: Low · Labels: ui.

    This requests a more convenient default for an existing HTML preview capability, rather than a broken capability. The existing file-opener setting provides a workaround, and the requested default change is contained within the file-preview subsystem. All classification fields were missing; no existing values were replaced. Final Type was read back as Feature.

    Reproduction reporting and an automated fix PR were skipped because the final Type is not Bug.

  3. added a commit that references this issue on Oct 13, 2026
    aec9f30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions