You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When an email address (e.g. test@gmail.com) is entered in the markdown editor, it will be rendered correctly in the preview pane as a mailto link (mailto:test@gmail.com). 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:test@gmail.com).
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. test@gmail.com)
Click on the link in the preview. It will open your email client and fill test@gmail.com 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. [test@gmail.com](mailto:test@gmail.com)
The text was updated successfully, but these errors were encountered:
Describe the bug
When an email address (e.g. test@gmail.com) is entered in the markdown editor, it will be rendered correctly in the preview pane as a mailto link (
mailto:test@gmail.com
). 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:test@gmail.com
).To Reproduce
Steps to reproduce the behavior:
test@gmail.com
)test@gmail.com
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.
[test@gmail.com](mailto:test@gmail.com)
The text was updated successfully, but these errors were encountered: