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

chore(v2): upgrade remark-admonitions for a11y fixes #2477

Merged
merged 1 commit into from
Mar 29, 2020

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Mar 29, 2020

Motivation

Refers to #2403

Resolve error of "Element “div” not allowed as child of element “h5” in this context. (Suppressing further errors from this subtree.)"

See elviswolcott/remark-admonitions#22

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Preview.

Make sure that for icons in headings of admonitions instead of div element used span.

Related PRs

(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

@lex111 lex111 added the pr: bug fix This PR fixes a bug in a past release. label Mar 29, 2020
@lex111 lex111 added this to the v2.0.0-alpha.49 milestone Mar 29, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Mar 29, 2020
@@ -17,8 +17,7 @@
"prism-react-renderer": "^1.0.2",
"prismjs": "^1.17.1",
"react-router-dom": "^5.1.2",
"react-toggle": "^4.1.1",
"remark-admonitions": "^1.2.0"
Copy link
Contributor Author

@lex111 lex111 Mar 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the redundant dep so I remove it.

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit a5c2a2a

https://deploy-preview-2477--docusaurus-2.netlify.com

@yangshun yangshun merged commit f0941a9 into master Mar 29, 2020
@yangshun yangshun deleted the lex111/upgrade-ra branch March 29, 2020 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants