fix(decoder): use default delimiter for parsing array headers

This commit is contained in:
Johann Schopplich
2025-10-29 13:43:05 +01:00
parent ee31be3bdc
commit 6040c018e0
2 changed files with 9 additions and 1 deletions

View File

@@ -267,7 +267,7 @@ function decodeListItem(
// Check for array header after hyphen
if (isArrayHeaderAfterHyphen(afterHyphen)) {
const arrayHeader = parseArrayHeaderLine(afterHyphen, activeDelimiter)
const arrayHeader = parseArrayHeaderLine(afterHyphen, DEFAULT_DELIMITER)
if (arrayHeader) {
return decodeArrayFromHeader(arrayHeader.header, arrayHeader.inlineValues, cursor, baseDepth, options)
}