Skip to content

MD2Docx Converter v0.5.2

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 11:56
· 31 commits to main since this release
  • A document title can no longer run a second command on Windows. When the Mermaid CLI or a Pandoc shim is a .cmd/.bat, the argument went through cmd.exe; a title that contained a double quote could end the quoted region and let an & behind it start a second command. Arguments are now escaped by doubling embedded quotes, so a quote stays inside the quoted region. Covered by a regression test that drives a quote-carrying payload through a real cmd.exe.
  • Escaping an argument no longer slows down on a long run of backslashes. The two regular expressions that escaped the quotes were quadratic; a path with tens of thousands of backslashes could stall the export. The escaping is now a linear character scan.
  • The Dify plugin and the VS Code extension still carry the same version line; 0.5.2 ships the security fix on both sides.