a17ed29842491c3da5ac0322e909a0fbd154f1ed
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
Description
My contributions to thephpleague/commonmark: 2 commits, 1 merged PRs
32 KiB
0 Stars
1 Watchers
0 Forks
Languages
PHP
100%