This is a csl locale issue, US is default. You can try --metadata lang=en-GB as suggested here or add a zero-width-space as mentioned here.


On Friday, 25 June 2021 at 14:38:07 UTC+3 William Lupton wrote:
Hello,

It seems that adding --citeproc causes a question mark to be brought within quotes, which I didn't expect. I tried escaping it but this didn't make any difference. Putting a space before it avoids the behaviour... but I don't want a space!

Thanks,
William

% pandoc -v
pandoc 2.14.0.3

% cat question.md
'-'?

% pandoc question.md
<p>‘-’?</p>

% pandoc --citeproc question.md
<p>‘-?’</p>

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b35ebef4-358f-4542-8dda-d68a7c1ab3fan%40googlegroups.com.