Skip to content

fix(teaching): add missing space before links in notice content#780

Open
hesamhadadi wants to merge 1 commit intopolito:mainfrom
hesamhadadi:fix/notice-missing-space-before-link
Open

fix(teaching): add missing space before links in notice content#780
hesamhadadi wants to merge 1 commit intopolito:mainfrom
hesamhadadi:fix/notice-missing-space-before-link

Conversation

@hesamhadadi
Copy link
Copy Markdown

Description

Fix missing space before hyperlinks in the notice section.

When a notice contains a link, the space before the <a> tag was being
stripped by Autolinker. Fixed by checking if the character before the
link offset is a space, and prepending one if not.

Related issue

Closes #775

@hesamhadadi hesamhadadi requested a review from a team as a code owner March 20, 2026 10:54
@github-actions github-actions Bot added the cc-fix PR includes fix commit label Mar 20, 2026
@hesamhadadi hesamhadadi force-pushed the fix/notice-missing-space-before-link branch from 3b9b019 to 9fea41a Compare March 23, 2026 09:17
@github-actions github-actions Bot added cc-fix PR includes fix commit and removed cc-fix PR includes fix commit labels Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc-fix PR includes fix commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing space before a link in the notice section

1 participant