Skip to content
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

Panic in src/generics/inline/emph_pair.rs: "attempt to subtract with overflow" #48

Open
akavel opened this issue Jan 26, 2025 · 0 comments

Comments

@akavel
Copy link

akavel commented Jan 26, 2025

When running on the following markdown file:

- _foo
  bar_

(minimized from original: https://github.com/akavel/garden/blob/631d69ae5984f520936de5d554d0416719a057cd/20250108-001-%40discbound-brands.%40bud.md)

got a panic like below:

thread 'main' panicked at C:\Users\Mateusz\.cargo\registry\src\index.crates.io-6f17d22bba15001f\markdown-it-0.6.1\src\generics\inline\emph_pair.rs:133:9:
attempt to subtract with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `_rust.out/debug\garden-render.exe` (exit code: 101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant