Skip to content

fix: preserve underscores in inline-code heading anchors - #41

Merged
JAORMX merged 2 commits into
mainfrom
fix/inline-code-anchor-underscores
Sep 25, 2026
Merged

JAORMX merged 2 commits into
mainfrom
fix/inline-code-anchor-underscores

Conversation

@JAORMX

@JAORMX JAORMX commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • preserve underscores from inline-code heading spans in canonical anchor slugs
  • allocate duplicate suffixes in the corrected slug namespace
  • add local, cross-document, duplicate, mixed-inline, Unicode-context, and missing-anchor coverage
  • document the anchor dialect compatibility rule

Fixes #40.

Verification

  • go test -race -count=1 ./internal/infrastructure/mdparser ./internal/domain/reference ./internal/application ./cmd/matlatl
  • go vet ./internal/infrastructure/mdparser ./internal/domain/reference ./internal/application ./cmd/matlatl
  • task dogfood
  • exact issue reproduction with matlatl check --strict

go test ./... remains blocked by pre-existing Nimbus fixture-freeze failures in eval/internal/nimbus (freeze.json does not match current Nimbus tree).

@JAORMX
JAORMX merged commit 0b30871 into main Sep 25, 2026
9 of 12 checks passed
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.

Preserve underscores in inline-code heading slugs (false broken anchors in v0.0.9)

1 participant