Skip to content

fix(KTL-4236): Grammar: Links to documentation were broken#5439

Merged
zoobestik merged 2 commits intomasterfrom
ktl-4236-gammar-links
Mar 16, 2026
Merged

fix(KTL-4236): Grammar: Links to documentation were broken#5439
zoobestik merged 2 commits intomasterfrom
ktl-4236-gammar-links

Conversation

@zoobestik
Copy link
Collaborator

@zoobestik zoobestik commented Mar 15, 2026

Bug fix:

  • The rebaseRelativeUrl function in blocks/grammar/markdown.tsx now correctly handles anchor links (starting with #), returning them as-is instead of incorrectly rebasing them.
  • The order of overrides in the Markdown component in utils/mdToHtml.tsx was fixed to ensure custom class names are applied correctly.

Tests:

  • Merge test/e2e/grammar/page.ts and test/production/grammar.spec.ts
  • The CI test script was updated to include the new grammar tests (⬆️ 7), ensuring they run in automated pipelines.
Screenshot 2026-03-15 at 21 45 00

cc @solarday

@zoobestik zoobestik force-pushed the ktl-4236-gammar-links branch 2 times, most recently from 889d738 to 4f91122 Compare March 15, 2026 20:31
@zoobestik zoobestik marked this pull request as ready for review March 15, 2026 20:35
@zoobestik zoobestik requested a review from nikpachoo March 16, 2026 11:05
- Implement comprehensive end-to-end tests for the grammar page verifying redirects, content rendering, navigation, and link behavior.
- Add grammar page-specific test suite to `test:ci` script in `package.json`.
@zoobestik zoobestik force-pushed the ktl-4236-gammar-links branch from 4f91122 to ae4f570 Compare March 16, 2026 17:28
@zoobestik zoobestik self-assigned this Mar 16, 2026
@zoobestik zoobestik merged commit 0928724 into master Mar 16, 2026
5 checks passed
@zoobestik zoobestik deleted the ktl-4236-gammar-links branch March 16, 2026 17:39
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.

2 participants