Skip to content

markdown-mode-fill-paragraph mangles inline attributes by treating them as text #862

@glyph

Description

@glyph

This is a problem because hello {.hello} is just the text hello {.hello} but

hello
{.hello}

renders as a paragraph with a hello class attribute.

Expected Behavior

this is a run-on sentence that takes more than 80 characters to conclude, and is therefore wrapped
{.hello}

this is a run-on sentence that takes more than 80 characters to conclude, and
is therefore wrapped
{.hello}

Actual Behavior

this is a run-on sentence that takes more than 80 characters to conclude, and
is therefore wrapped {.hello}

Software Versions

  • Markdown Mode: markdown-mode, version 2.7-alpha
  • Emacs: GNU Emacs 29.4 (build 1, aarch64-apple-darwin24.0.0, NS appkit-2566.00 Version 15.0.1 (Build 24A348)) of 2024-10-07
  • OS:
    ProductName:		macOS
    ProductVersion:		15.1.1
    BuildVersion:		24B91
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions