-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression with indented special characters in shell blocks #428
Comments
Hi @thpani. I tested it and what I get out is this:
The differences being
So it basically decides that the input and the output don't match but generates essentially the same file (modulo the ellipsis, which the |
Yes, that's the output I get on mdx-2.3.0. |
Update the nix flake lock file. This fixes the outdated glibc version, as described here: #2565 (comment) I updated to a fixed revision from Jan 2023, to pull in an old version of ocaml-mdx. This is a workaround for the following regressions in later versions of mdx: realworldocaml/mdx#428 To update nix flake inputs to a specific revision, I ran: nix flake update --override-input nixpkgs github:NixOS/nixpkgs/<rev>
Update the nix flake lock file. This fixes the outdated glibc version, as described here: #2565 (comment) I updated to a fixed revision from Jan 2023, to pull in an old version of ocaml-mdx. This is a workaround for the following regressions in later versions of mdx: realworldocaml/mdx#428 To update nix flake inputs to a specific revision, I ran: nix flake update --override-input nixpkgs github:NixOS/nixpkgs/<rev>
The treatment of special characters in shell blocks (
$
,>
) changed in #397, s.t. these characters now have special meaning, even if indented.Unfortunately, this results in a regression against v2.1.0.
Consider the following program and test that contains an indented
>
:test.md
test.sh
In mdx 2.1.0
ocaml-mdx test test.md
used to succeed, but now results in a.corrected
file, because the> D
receives special meaning.The text was updated successfully, but these errors were encountered: