Skip to content

Enabled llms.txt leads to markdown being returned in post preview in design preview #28265

@betschki

Description

@betschki

Issue Summary

Enabling labs.llmsTxt leads to markdown being returned in the post preview of the design preview:

Image

Assumption:

An Accept: text/plain header is sent to the iframe.

Steps to Reproduce

  1. Enable labs.llmsTxt
  2. Go to Settings > Design & Branding > Customize
  3. Click on the Post tab
  4. See issue

Ghost Version

v6.43.1

Node.js Version

22

How did you install Ghost?

Docker

Database type

MySQL 8

Browser & OS version

No response

Relevant log / error output

Code of Conduct

  • I agree to be friendly and polite to people in this repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions