From 10b4018a9fcb2be37525bd99ad09fb5ec767fa26 Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Fri, 20 Apr 2018 10:38:49 +1000 Subject: [PATCH] Fix responsive iframe embed bug --- src/components/Content.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/components/Content.js b/src/components/Content.js index cda3971..8204e66 100644 --- a/src/components/Content.js +++ b/src/components/Content.js @@ -37,11 +37,14 @@ const ImageWithSrcset = ({ nodeKey, src, alt, ...props }) => { ) } -const HtmlBlock = ({ value }) => ( -
-) +const HtmlBlock = ({ value }) => { + if (value.indexOf(' + ) +}