Skip to content

rST in word emphasis parsed incorrectly #11309

@Ursus-GIT5805

Description

@Ursus-GIT5805

Explain the problem.

I wanted to convert rST to other markup languages, where I encountered this edge case:

I really want cho\ **cola**\ te, please!

I tested to several output formats, but all have the same issue, so I suppose it's a parser bug.

Run it with e.g.

pandoc -f rst -w markdown test.rst

Expected result

I really want cho**cola**te, please!

Actual result

I really want cho\*\*cola\*\*te, please!

The emphasis is escaped, which is not correct behaviour.

Pandoc versions

  • Current Arch Linux Build (version 3.4)
  • Release (version 3.8.2.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions