Home
last modified time | relevance | path

Searched hist:"7686 f2030b19f948d2e50df1613ef6592fa44b46" (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/_test/tests/inc/parser/
H A Drenderer_pipeline.test.php36ba8eadc205a4e1af5099c74b747e2256faadd4 Tue May 12 18:54:39 UTC 2026 Andreas Gohr <andi@splitbrain.org> test: add tests to catch #4637

Issue #4637 was fixed in 7686f2030b19f948d2e50df1613ef6592fa44b46 but I
didn't like that no test had caught the issue.

This adds a specific test for the issue as a HandlerTest. Additionally a
simple smoke test is added that renders the wiki:syntax page and
inspects the created DOM. It's not comprehensive but might help flagging
similar issue in the future.

/dokuwiki/_test/tests/Parsing/
H A DHandlerTest.php36ba8eadc205a4e1af5099c74b747e2256faadd4 Tue May 12 18:54:39 UTC 2026 Andreas Gohr <andi@splitbrain.org> test: add tests to catch #4637

Issue #4637 was fixed in 7686f2030b19f948d2e50df1613ef6592fa44b46 but I
didn't like that no test had caught the issue.

This adds a specific test for the issue as a HandlerTest. Additionally a
simple smoke test is added that renders the wiki:syntax page and
inspects the created DOM. It's not comprehensive but might help flagging
similar issue in the future.

/dokuwiki/inc/Parsing/
H A DHandler.php7686f2030b19f948d2e50df1613ef6592fa44b46 Tue May 12 17:18:06 UTC 2026 Anna Dabrowska <dabrowska@cosmocode.de> Fix syntax plugin rendering

Reverse the order in which core modes and plugin modes are handled by the \dokuwiki\Parsing\Handler.
Otherwise only the handle() method of the plugin is called, which is fine for core modes. Syntax plugins need to go through plugin() to actually add their own calls.