Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pandocPublic

Pandoc 3.1.1: Simple Jira Markup Wrongly Parsed as "Phantom Image" Reference (Mislead by Exklamation Mark in Input?) #8680

Closed
@gohrner

Description

@gohrner

Explain the problem.

pandoc -f jira -t markdown jira.txt

with the followingjira.txt:

*ACHTUNG:* Die autogenerierten Klassen dürfen NICHT durch Automatismen verändert werden! Sie sind vor Umformatierungen bereits geschützt durch den Kommentar {{// @formatter:off}} am Anfang jeder Datei. Diesen Kommentar muss die Formatter-Einstellung *zwingend* berücksichtigen!

produces the following output:

**ACHTUNG:** Die autogenerierten Klassen dürfen NICHT durch Automatismenverändertwerden![]( Sie sind vor Umformatierungen bereits geschützt durch den Kommentar {{//@formatter:off}} am Anfang jeder Datei. Diesen Kommentar muss die Formatter-Einstellung*zwingend* berücksichtigen)

In pandoc's "native" output, the wrong part looks as follows:

,Image("",[],[])[](" Sie sind vor Umformatierungen bereits gesch\252tzt durch den Kommentar {{// @formatter:off}} am Anfang jeder Datei. Diesen Kommentar muss die Formatter-Einstellung *zwingend* ber\252cksichtigen","")

Note that Pandoc seems to have "invented" an "empty" image, where it took the rest of the line as the empty image's URL.
Also, the inline code / fixed-width section// @formatter:off was not parsed at all (which however may be a side effect of this part of the line being taken as an URL while it is none).

Pandoc version?
pandoc 3.1.1
Features: +server +lua
Scripting engine: Lua 5.4

Debian GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp