Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix loading of config file with recent Rubies (Psych 4.0)
Using Ruby 3.2, the following command would fail like this without the fix: > bin\kramdown --config-file .kramdown.yml -i GFM -o html README.md .../ruby-3.2-lean/lib/ruby/3.2.0/psych.rb:322:in `safe_load': wrong number of arguments (given 2, expected 1) (ArgumentError) from .../vendor/ruby/3.2.0/gems/kramdown-2.4.0/bin/kramdown:114:in `<top (required)>' from .../bin/kramdown.cmd:30:in `load' from .../bin/kramdown.cmd:30:in `<main>'
- Loading branch information