4 Commits
Author SHA1 Message Date
dualfroz 260083d10a fix: accept unordered_list_markers config in InlinesOnlyExtension
The unordered_list_markers option is declared in the shared 'commonmark'
config schema by CommonMarkCoreExtension, but InlinesOnlyExtension did not
declare it in its own schema for the same 'commonmark' namespace. Setting
the option while using InlinesOnlyExtension therefore failed schema
validation with 'Unexpected item commonmark unordered_list_markers'.

Declare the option in InlinesOnlyExtension using the same definition so it
is accepted. InlinesOnlyExtension does not render lists, so this only makes
the option valid without changing rendering behaviour.

Adds a regression test asserting the option is accepted and rendering still
works.

Closes #1015
2026-08-27 23:37:32 +02:00
upstream 05090894a0 Upstream thephpleague/commonmark state of the touched files before bc9ea56dab 2026-08-27 23:37:32 +02:00
dualfroz a17ed29842 fix: accept unordered_list_markers config in InlinesOnlyExtension
The unordered_list_markers option is declared in the shared 'commonmark'
config schema by CommonMarkCoreExtension, but InlinesOnlyExtension did not
declare it in its own schema for the same 'commonmark' namespace. Setting
the option while using InlinesOnlyExtension therefore failed schema
validation with 'Unexpected item commonmark unordered_list_markers'.

Declare the option in InlinesOnlyExtension using the same definition so it
is accepted. InlinesOnlyExtension does not render lists, so this only makes
the option valid without changing rendering behaviour.

Adds a regression test asserting the option is accepted and rendering still
works.

Closes #1015
2026-09-06 00:59:12 +02:00
upstream 44017a3016 Upstream thephpleague/commonmark state of the touched files before 9e0f3b147e 2026-08-27 23:37:32 +02:00