In the wiki links deletes the entire line of text
Summary
When linking to other wiki pages on any wiki page with double brackets the entire line of text is deleted.
Steps to reproduce
Just use double brackets on a line with any other text, this example shows the bug clearly:
https://gitlab.com/charuru2009/public-test/wikis/home
Example Project
https://gitlab.com/charuru2009/public-test/wikis/home
What is the current bug behavior?
The text on the line is deleted.
What is the expected correct behavior?
The text on the line is not deleted.
Relevant logs and/or screenshots
https://gitlab.com/charuru2009/public-test/wikis/home
Output of checks
This bug happens on GitLab.com
It also happens on a local install.