Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Formatting regression in code blocks #349

@kristianfreeman

Description

@kristianfreeman

Since be06f10, there appears to be a regression in how code blocks are formatted in our docs. This change causes extraneous whitespace on properly-spaced code (example image below).

The offending code seems to be this new <br /> tag here:

<span className="CodeBlock--token-plain">
<br />
</span>

Here's an example in a new tutorial we launched for Workers:

Example

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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