Skip to content

Fix wikilink markers inside inline code#431

Open
nexiumbiz-debug wants to merge 1 commit into
Feel-ix-343:mainfrom
nexiumbiz-debug:codex/fix-inline-code-wikilink-markers
Open

Fix wikilink markers inside inline code#431
nexiumbiz-debug wants to merge 1 commit into
Feel-ix-343:mainfrom
nexiumbiz-debug:codex/fix-inline-code-wikilink-markers

Conversation

@nexiumbiz-debug
Copy link
Copy Markdown

/claim #269

Summary

  • Filter parsed references whose start or end position lands inside an inline/fenced code span when references_in_codeblocks is disabled.
  • Prevent separate inline-code markers like `[[` and `]]` from being combined into one unresolved wiki reference.
  • Add regression coverage for the reported case plus a control case where a real wikilink outside inline code still parses.

Verification

  • cargo fmt --check
  • git diff --check

Not run

  • cargo test wiki_link -- --nocapture could not complete in this Windows environment because the local Rust toolchain lacked working native linker support (link.exe for MSVC; GNU fallback also lacked required MinGW GCC libraries). The attempted temporary toolchain installs were cleaned up after verification.

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