Skip to content

Commit

Permalink
fix(react-showdown): temporary workaround for christoph-jerolimov/rea…
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Apr 19, 2020
1 parent 6be804c commit 1153b9e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/react-showdown+2.0.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/node_modules/react-showdown/dist/react-showdown.esm.js b/node_modules/react-showdown/dist/react-showdown.esm.js
index ef5e9c6..1411b60 100644
--- a/node_modules/react-showdown/dist/react-showdown.esm.js
+++ b/node_modules/react-showdown/dist/react-showdown.esm.js
@@ -188,7 +188,8 @@ function MarkdownView(props) {
// Don't change the attribute names so that stuff like `className` works correctly.
lowerCaseAttributeNames: false,
// Encode entities automatically, so that © and ü works correctly.
- decodeEntities: true
+ decodeEntities: true,
+ recognizeSelfClosing: true
});
return createElement('div', otherProps, root.map(mapElement));
} // Match react-dom omittedCloseTags. See also:

0 comments on commit 1153b9e

Please # to comment.