Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

email links in markdown aren't parsed #500

Open
perpetualgrimace opened this issue Jun 12, 2019 · 4 comments
Open

email links in markdown aren't parsed #500

perpetualgrimace opened this issue Jun 12, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@perpetualgrimace
Copy link

Description

In my markdown file, if I add an email address via the standard syntax <email@address.com>, the app white screens. If I remove the angle brackets, the page renders again.

The console prints out an error that sounds like it's looking for a content file, rather than generating a mailto link:

shared.js?e4aa:33 /Users/jf/JFDev/gridsome-test/content/6-contact/mailto:hello@jamesferrell.me was not found. 
formatError	@	shared.js?e4aa:33
(anonymous)	@	guard.js?8f55:30
Promise.catch (async)		
(anonymous)	@	guard.js?8f55:24
iterator	@	vue-router.esm.js?8c4f:1959
step	@	vue-router.esm.js?8c4f:1733
runQueue	@	vue-router.esm.js?8c4f:1741
confirmTransition	@	vue-router.esm.js?8c4f:1988
transitionTo	@	vue-router.esm.js?8c4f:1890
init	@	vue-router.esm.js?8c4f:2541
beforeCreate	@	vue-router.esm.js?8c4f:553
invokeWithErrorHandling	@	vue.runtime.esm.js?2b0e:1854
callHook	@	vue.runtime.esm.js?2b0e:4213
Vue._init	@	vue.runtime.esm.js?2b0e:4998
Vue	@	vue.runtime.esm.js?2b0e:5079
createApp	@	app.js?df88:58
(anonymous)	@	entry.client.js?36fa:14
./node_modules/gridsome/app/entry.client.js	@	app.js:3623
__webpack_require__	@	app.js:770
fn	@	app.js:130
0	@	app.js:5382
__webpack_require__	@	app.js:770
(anonymous)	@	app.js:907
(anonymous)	@	app.js:910

Environment

Libs:
- "@gridsome/source-filesystem": "^0.5.0"
- "@gridsome/transformer-remark": "^0.3.2"
- "gridsome": "^0.6.4"
@chorijan
Copy link

chorijan commented Jul 2, 2019

we had a similar problem like this using Netlify CMS - we did a quick hack and managed to circumvent this issue by adding a &nbsp; after the mail link. you could try something like this [hello@jamesferrell.me](mailto:hello@jamesferrell.me&nbsp;)

@perpetualgrimace
Copy link
Author

@chorijan good to know, thank you for sharing!

@hjvedvik hjvedvik self-assigned this Jul 4, 2019
@hjvedvik hjvedvik added the bug Something isn't working label Jul 4, 2019
@khuumi
Copy link

khuumi commented Jul 23, 2019

@hjvedvik Thanks so much for pushing out a fix! :)

@freshyill
Copy link

freshyill commented Aug 17, 2019

I think I'm encountering the same issue. I found that wrapping it in quotes works for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants