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

[bug] Fenced HTML codeblock reformatting attributes broken out over multiple lines. #2667

@kilometerlime

Description

@kilometerlime

Current behavior

When using a HTML fenced codeblock and you break multiple attributes over multiple lines, it currently renders all attributes onto a single lines and simultaneously adds those linebreaks to the end of the codeblock.

Editor:

screenshot 2018-12-02 at 15 27 42

Preview:

screenshot 2018-12-02 at 15 28 23

Expected behavior

The fenced block should preview as it is formatted in the editor.

Steps to reproduce

  1. Create a fenced HTML codeblock
  2. Define a tag such as a <div>
  3. Add multiple attributes and break them out over multiple lines

Environment

  • Version : 0.11.11 (0.11.11)
  • OS Version and name : macOS Mojave (v10.14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.

    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