' . '[[:namespace:page#section|' . $link_content . ']]' . ''; $pageId = syntax_plugin_webcomponent_button::getTag().':header:test_base'; saveWikiText($pageId, $doku_text, 'Header Test base'); idx_addPage($pageId); $request = new TestRequest(); $response = $request->get(array('id' => $pageId, '/doku.php')); $expected = '' . $link_content . ''; $generator = $response->queryHTML('meta[name="generator"]'); $this->assertEquals($expected, $generator); } }