JessicaTegner / pypandoc

Thin wrapper for "pandoc" (MIT)
http://pypi.python.org/pypi/pypandoc/
Other
843 stars 108 forks source link

BUG🐞: Markdown to Word formatting issue #343

Closed HlexNC closed 9 months ago

HlexNC commented 9 months ago

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

JessicaTegner commented 9 months ago

hi @HlexNC can you confirm the following:

HlexNC commented 9 months ago

@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.