Nmmm, Not the OP, but the following demonstrates the issue described.

When the input is described as commonmark, all is well. Otherwise, turning off raw-tex support may be what the OP want.

╰─► pandoc --version
pandoc 2.14.2
Compiled with pandoc-types 1.22, texmath 0.12.3.1, skylighting 0.11,
citeproc 0.5, ipynb 0.1.0.1
User data directory: C:\Users\micro\AppData\Roaming\pandoc
Copyright (C) 2006-2021 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.

╰─► echo " aa \a\a \aa bb " | pandoc -f markdown -t html
<p>” aa bb ”</p>

╰─► echo " aa \a\a \aa bb " | pandoc -f commonmark -t html
<p>" aa \a\a \aa bb "</p>

╰─► echo " aa \a\a \aa bb " | pandoc -f markdown-raw_tex -t html
<p>” aa \a\a \aa bb ”</p>

--
Rik
On Thursday, September 16, 2021 at 12:43:07 PM UTC-4 John MacFarlane wrote:

Perhaps you could use the permalink feature on the dingus to give
us a specific example? I tried \a\b and it worked fine. But
perhaps you're using some non-latin characters?

Jiashu Zou <zjs...@gmail.com> writes:

> This behavior does not comply with the CommonMark spec. You can check at
> the commonmark.js demo https://spec.commonmark.org/dingus/
>
> On Thursday, 16 September 2021 at 17:56:54 UTC+8 Jiashu Zou wrote:
>
>> alphabetic characters preceded by backslash (\) are ignored when
>> converting from markdown to html. Where is this behavior documented? Is it
>> possible to change?

--
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/089b0e7f-6b7d-4770-8f80-d9e9796178a6n%40googlegroups.com.