While playing with
https://bugs.dokuwiki.org/index.php?do=details&task_id=2178 I found another syntax issue. When I want to insert really empty link like [[]], it messes the page . If I add a caption, e.g. [[|empty link]], it works correctly. I think the issue is somewhere in Lexer.
Test page:
empty link >> [[]] <<
Testing link >> [[http://www.google.com]] <<
empty link with caption >> [[|empty link]] <<
Output:
<p>
empty link » <a href="/dwtest/doku.php?id=testing_link_http:www.google.com" class="wikilink2" title="testing_link_http:www.google.com" rel="nofollow">//www.google.com</a> «
</p>
<p>
empty link with caption » <a href="/dwtest/doku.php" class="wikilink2" rel="nofollow">empty link</a> «
</p>
The text testing link is completely missing.