Skip to content

Commit

Permalink
fix: 🐛 allow empty style tags in markdown editor (#81)
Browse files Browse the repository at this point in the history
Pulls in a pre-compiled local branch including the changes from this
`markdown-to-jsx` PR:
quantizor/markdown-to-jsx#296 which in turn
fixes a bug in which empty style attributes (e.g. `<div
style>Foo</div>`) would cause unrecoverable crashes in the markdown
field editor.
  • Loading branch information
Chris Sloop authored Apr 3, 2020
1 parent 9e18bb2 commit db1c80c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"emotion": "^10.0.17",
"lodash": "^4.17.15",
"lodash-es": "^4.17.15",
"markdown-to-jsx": "^6.11.0"
"markdown-to-jsx": "git://github.com/contentful/markdown-to-jsx.git#7af79aef2b581eaa0b1103e8642d639ba1fab196"
},
"devDependencies": {
"@babel/core": "^7.5.5",
Expand Down
5 changes: 2 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12631,10 +12631,9 @@ markdown-table@^1.1.0:
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60"
integrity sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==

markdown-to-jsx@^6.11.0:
"markdown-to-jsx@git://github.com/contentful/markdown-to-jsx.git#7af79aef2b581eaa0b1103e8642d639ba1fab196":
version "6.11.0"
resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-6.11.0.tgz#a2e3f2bc781c3402d8bb0f8e0a12a186474623b0"
integrity sha512-RH7LCJQ4RFmPqVeZEesKaO1biRzB/k4utoofmTCp3Eiw6D7qfvK8fzZq/2bjEJAtVkfPrM5SMt5APGf2rnaKMg==
resolved "git://github.com/contentful/markdown-to-jsx.git#7af79aef2b581eaa0b1103e8642d639ba1fab196"
dependencies:
prop-types "^15.6.2"
unquote "^1.1.0"
Expand Down

0 comments on commit db1c80c

Please sign in to comment.