You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can the ChangeHistory component adjust the label rendering logic or the passed value? #9114
If the label is passed a string, then both aria-label and the content rendered by the div will be plain strings. The special Markdown formatting within the div will not be rendered correctly. If the label is passed a JSX object, the div will render correctly, but the aria-label attribute will display [object Object].
The doc-kit previously fixed the aria-label rendering issue using nodejs/doc-kit#1034. However, it wasn't completely resolved; currently, Markdown formatting is not rendered correctly within divs.
Yep! Great minds think alike :-) this is on my list of things to do. After changing the component to accept a node I'll fix the remaining parts in doc kit
Activity
btea commentedon Aug 22, 2026
It seems that #9115 has solved the problem. cc @avivkeller
AugustinMauroy commentedon Aug 22, 2026
it's accept react value now but need to transform first nodejs/doc-kit#1049
btea commentedon Aug 22, 2026
I noticed that too. Good job. 👍
avivkeller commentedon Aug 22, 2026
Yep! Great minds think alike :-) this is on my list of things to do. After changing the component to accept a node I'll fix the remaining parts in doc kit