| #
71096e46 |
| 18-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
move handler methods into ParserMode classes and rename Handler
Each ParserMode class now implements handle() from ModeInterface, containing the token handling logic that previously lived as individ
move handler methods into ParserMode classes and rename Handler
Each ParserMode class now implements handle() from ModeInterface, containing the token handling logic that previously lived as individual methods on Doku_Handler.
The Handler class (formerly Doku_Handler) is the single dispatch point: Lexer passes tokens to Handler::handleToken() which routes to mode objects, plugins, or returns false. The Lexer only tokenizes and resolves mapHandler aliases.
Key changes: - Add handle() to ModeInterface, implemented by all mode classes - Move Doku_Handler to dokuwiki\Parsing\Handler namespace - File extends Code (shared parsing via $type property) - Quotes uses mapHandler() + Handler::getModeName() for sub-modes - Media::parseMedia() replaces Doku_Handler_Parse_Media() - Code::parseHighlightOptions() replaces parse_highlight_options() - Per-parse state (footnote, doublequote) stays on Handler - Deprecated wrappers kept for base/header/internallink/media - Class alias and rector rules added for backward compatibility
show more ...
|
| #
90fb952c |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: operator spacing
|
| #
bcaec9f4 |
| 29-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to inc/Parsing
|
| #
206d3a69 |
| 13-Oct-2020 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #2433 from splitbrain/issue2399
Fixed broken link rendering for external links at start of line
|
| #
5c99934f |
| 12-Aug-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Public access to patterns in external link parser
|
| #
4da6a3ce |
| 10-Mar-2020 |
Phy <git@phy25.com> |
Fix php styling of too long regexp
|
| #
f216edae |
| 21-Jun-2018 |
Lars Paulsen <lars_paulsen@web.de> |
Fixed broken link rendering for external links at start of line
External links at the start of line like 'www.example.com' were not rendered as links any more. The issue was introduced with PR #1988
Fixed broken link rendering for external links at start of line
External links at the start of line like 'www.example.com' were not rendered as links any more. The issue was introduced with PR #1988. Fixes #2399.
show more ...
|
| #
be906b56 |
| 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
moved all parsing related namespaces to their own
|