Describe the bug
When an email address (e.g. [email protected]) is entered in the markdown editor, it will be rendered correctly in the preview pane as a mailto link (mailto:[email protected]). However, when the page is saved, the mailto link is rendered improperly (page path is prepended, making it a link to http://mywikijs.com/en/pagename/mailto:[email protected]).
To Reproduce
Steps to reproduce the behavior:
- Create a new page (or edit an existing page)
- Enter an email address in the page body (e.g.
[email protected])
- Click on the link in the preview. It will open your email client and fill
[email protected] into the 'to' field.
- Save the page and close the editor
- Click on the email address link on the page. Instead of the email client opening, you are directed to a page which simply displays the text "Not Found".
Expected behavior
Email client is opened with the 'to' field filled.
Host Info (please complete the following information):
- OS: CentOS 7.6
- Wiki.js version: 2.0.0-beta.303
- Database engine: postgres 11.5
- Node.js version: 10.16.3
Workaround
You can work around this bug by explicitly specifying the mailto link, e.g.
[[email protected]](mailto:[email protected])
Describe the bug
When an email address (e.g. [email protected]) is entered in the markdown editor, it will be rendered correctly in the preview pane as a mailto link (
mailto:[email protected]). However, when the page is saved, the mailto link is rendered improperly (page path is prepended, making it a link tohttp://mywikijs.com/en/pagename/mailto:[email protected]).To Reproduce
Steps to reproduce the behavior:
[email protected])[email protected]into the 'to' field.Expected behavior
Email client is opened with the 'to' field filled.
Host Info (please complete the following information):
Workaround
You can work around this bug by explicitly specifying the mailto link, e.g.
[[email protected]](mailto:[email protected])