Skip to content

Fix up React warnings and invalid markup #316

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

Merged
merged 5 commits into from
May 26, 2017
Merged

Fix up React warnings and invalid markup #316

merged 5 commits into from
May 26, 2017

Conversation

wincent
Copy link
Contributor

@wincent wincent commented May 26, 2017

No description provided.

wincent added 4 commits May 26, 2017 11:53
Don't know what I was smoking when I removed this. Even though the
function doesn't use it, React uses the key.

This reverts commit 937b0d3.
Discovered because I was looking for React unique
key warnings during the build and found that this
file was responsible for one of them.
Build was printing:

  Warning: validateDOMNesting(...): <a> cannot appear as a descendant of
  <a>. See Marked > a > ... > a.

Caused by markup like:

  [https://example.com/](https://example.com)

Just rely on autolinking instead.
@wincent wincent merged commit 9bf3511 into graphql:source May 26, 2017
@wincent wincent deleted the glh/clean branch May 26, 2017 19:12
Dipeshwagle pushed a commit to Dipeshwagle/graphql.github.io that referenced this pull request Aug 18, 2020
Fix up React warnings and invalid markup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants