JessicaTegner/pypandoc

BUG🐞: Markdown to Word formatting issue

HlexNC opened this issue · 2 comments

There is an unusual issue with formatting of markdown to docx, which doesn't seem to happen with other file formats. the /n is ignored and some characters are removed.

CLI
Output File


Source Code

hi @HlexNC can you confirm the following:

  • Version of pandoc and pypandoc being used
  • If the same behaviour happens when using convert_file instead of convert_text

@JessicaTegner, I apologize for any confusion. The issue originated from FastAPI's conversion of \n into \\n and \t into \\t, which pandoc couldn't recognize. I'm currently using the latest versions of pandoc and Pypandoc. Please know that no action is required on your part. I thank you for maintaining and improving the repository.