Meeting on 2024-10-24

'; $out = ChronologicalDateAutoLinker::linkHtml($html); $decoded = urldecode($out); if (strpos($decoded, 'chronological:2024:10:24') === false) { throw new \Exception('Expected canonical link target not found'); } } public function testSkipsCodeContent(): void { $html = '

Outside 2024-10-25

Inside 2024-10-24'; $out = ChronologicalDateAutoLinker::linkHtml($html); $decoded = urldecode($out); if (strpos($decoded, 'chronological:2024:10:25') === false) { throw new \Exception('Expected outside date link not found'); } if (strpos($decoded, 'chronological:2024:10:24') !== false) { throw new \Exception('Date inside code block should not be auto-linked'); } } }