Skip to content

Code blocks render differently within same post #2600

@ed-kung

Description

@ed-kung

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I put two code blocks in the post (https://stacker.news/items/1255322). They render differently on screen.

Screenshots

First code block:

Image

Second code block:

Image

Steps To Reproduce

I can't seem to reproduce it with a minimal example. i.e.,

code block 1
code block 2

Seems to render correctly on SN

Expected behavior

The two code blocks should look the same/similar

Logs

No response

Device information

  • OS: Windows 11
  • Browser: Brave

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions