Skip to content

Ignore wikilink markers split across inline code spans - #451

Open
Cosmic-Game-studios wants to merge 1 commit into
Feel-ix-343:mainfrom
Cosmic-Game-studios:ignore-split-inline-code-wikilinks
Open

Cosmic-Game-studios wants to merge 1 commit into
Feel-ix-343:mainfrom
Cosmic-Game-studios:ignore-split-inline-code-wikilinks

Conversation

@Cosmic-Game-studios

Copy link
Copy Markdown

Summary

  • Adds overlap detection for parsed ranges.
  • Filters wiki references that partially overlap markdown code ranges, preventing separate inline-code markers like [[ and ]] from being combined into a false wiki link.
  • Adds a regression test for the reported inline-code case.

Validation

  • cargo +1.93.0 fmt --check
  • cargo +1.93.0 test vault::vault_tests
  • cargo +1.93.0 test
  • git diff --check

/claim #269

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant