fix typos in diverse files (#3550)

Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
Co-authored-by: Pascal Birchler <pascalb@google.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
This commit is contained in:
Didier Durand
2025-07-21 00:36:34 +02:00
committed by GitHub
parent 0996d91f0b
commit 0f6405e28d
5 changed files with 8 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ function renderHastNode(
return <React.Fragment>{children}</React.Fragment>;
}
// Handle Root Node: Start recursion with initial inherited color
// Handle Root Node: Start recursion with initially inherited color
if (node.type === 'root') {
// Check if children array is empty - this happens when lowlight can't detect language fallback to plain text
if (!node.children || node.children.length === 0) {