Skip to content

Terms ending with a minus sign break the definition list #11323

@rksvc

Description

@rksvc

Explain the problem.

Run pandoc --from rst --to markdown_mmd with the following input:

Ctrl++ and Ctrl+-
    Adjust audio delay (A/V sync) by +/- 0.1 seconds.

Output:

Ctrl++ and Ctrl+- Adjust audio delay (A/V sync) by +/- 0.1 seconds.

Expected:

Ctrl++ and Ctrl+-

:   Adjust audio delay (A/V sync) by +/- 0.1 seconds.

Also affects other Markdown variants. It works well without the minus sign at the end of the term.

Pandoc version?

v3.8.3 on Arch Linux (WSL2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions