Answer the stability review: the parse layer strips a space or a tab, never more
CI / gate (push) Successful in 6s

This commit is contained in:
2026-08-28 00:01:35 +02:00
parent 05f53a2024
commit 0d3f813d96
7 changed files with 45 additions and 18 deletions
+1 -1
View File
@@ -111,6 +111,6 @@ export function startsEntityReference(text: string): boolean {
return anchoredEntityReference.test(text)
}
function trimSpace(text: string): string {
export function trimSpace(text: string): string {
return text.replace(/^[ \t]+|[ \t]+$/g, '')
}