From b28193c17dd6dce987ba766d691d6872a7f832d1 Mon Sep 17 00:00:00 2001 From: Chris Sloop Date: Thu, 2 Apr 2020 19:03:35 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20allow=20empty=20style=20t?= =?UTF-8?q?ags=20in=20markdown=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pulls in a pre-compiled local branch including the changes from this `markdown-to-jsx` PR: https://github.com/probablyup/markdown-to-jsx/pull/296 which in turn fixes a bug in which empty style attributes (e.g. `
Foo
`) would cause unrecoverable crashes in the markdown field editor. --- packages/markdown/package.json | 2 +- yarn.lock | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/markdown/package.json b/packages/markdown/package.json index b65b702aa..405d31179 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index dfd637ba5..1dcbfb73e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"