diff --git a/src/xml/1.0/ed5.ts b/src/xml/1.0/ed5.ts index 4a94a60..fb1b23f 100644 --- a/src/xml/1.0/ed5.ts +++ b/src/xml/1.0/ed5.ts @@ -73,7 +73,7 @@ export function isChar(c: number): boolean { * @returns ``true`` if the codepoint matches ``S``. */ export function isS(c: number): boolean { - return c === SPACE || c === NL || c === CR || c === TAB; + return S_LIST.includes(c); } /**