Skip to content

fix: wrap entire section heading in <translate> tags #22

Merged
gopavasanth merged 1 commit intomainfrom
T417697
Feb 22, 2026
Merged

fix: wrap entire section heading in <translate> tags #22
gopavasanth merged 1 commit intomainfrom
T417697

Conversation

@gopavasanth
Copy link
Member

Instead of wrapping only the heading text (==text==), the entire heading including == markers is now wrapped with translate tags on their own lines (\n==text==\n). This preserves heading context for translators and enables automatic language anchors without needing {{anchor}} workarounds.

…idelines

Instead of wrapping only the heading text (==<translate>text</translate>==),
the entire heading including == markers is now wrapped with translate tags on
their own lines (<translate>\n==text==\n</translate>). This preserves heading
context for translators and enables automatic language anchors without needing
{{anchor}} workarounds.
@gopavasanth gopavasanth merged commit 601003c into main Feb 22, 2026
2 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.

1 participant