Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wikilinks_title_after_pipe unexpected '2' Error mixed markdown and wikilinks #9510

Closed
jfishe opened this issue Feb 25, 2024 · 1 comment
Closed
Labels

Comments

@jfishe
Copy link

jfishe commented Feb 25, 2024

Explain the problem.
Since v3.1.12, pandoc markdown extension wikilinks_title_after_pipe does not parse mixed wiki and markdown links.

printf 'Messina ([2007](#ref-TSTF-475-Ar1))\n\n([[#ref-TSTF-475-Ar1|2007]])' | 
pandoc \
  --from=markdown+wikilinks_title_after_pipe \
  --to=markdown 

Error:

Error at (line 1, column 11):
unexpected '2'
Messina ([2007](#ref-TSTF-475-Ar1))
          ^

Expected response:

Messina ([2007](#ref-TSTF-475-Ar1))

([2007](#ref-TSTF-475-Ar1 "wikilink"))

Pandoc version?

v3.1.3 - v3.1.11.1 produce the expected response. V3.1.12 - v3.1.12.1 produce the error.

@jfishe jfishe added the bug label Feb 25, 2024
@jgm
Copy link
Owner

jgm commented Feb 26, 2024

This was already fixed - see #9481.
The fix will be in the next release.

@jgm jgm closed this as completed Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants