Skip to content

Jira-Syntax Fixed-Width Markup Parsing Issue #10647

Open
@gohrner

Description

@gohrner

Bug Report: Pandoc Jira-Syntax Fixed-Width Markup Parsing Issue

Description of the Problem: Pandoc does not correctly parse/translate (newer?) Jira syntax for fixed-width font. The syntax {{{}fixed width font{}}} is not converted correctly; the nested curly bracket pairs before and after the text remain unchanged in the output.

Steps to Reproduce:

  1. Run the following command:
    timeout 60 pandoc -f jira -t gfm --wrap=preserve --sandbox
  2. Use the following Jira-formatted input:
    {{{}fixed width font{}}}
    
  3. Observe the output, which incorrectly retains the surrounding curly brackets.

Expected Behavior:
The output should correctly format the fixed-width text without preserving the extra curly brackets.

My Current Workaround: I preprocess Jira markup as follows:

jiraFormattedText = jiraFormattedText
            .replaceAll("\\{\\{\\{", "\\{\\{")
            .replaceAll("\\{\\}\\}\\}", "\\}\\}");

Pandoc Version:

  • Version: pandoc-3.6.3-1-amd64.deb
  • Operating System: Debian 12 "Bookworm"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions