Permalink
Browse files

Fix a BUG in node_modules/react-native-html-render/lib/htmlRender.js

  • Loading branch information...
1 parent 0f2a586 commit f5c2d839dd33ed97aae480fcf5c9adccf4b44de4 @flyskywhy flyskywhy committed Aug 16, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 post_npm_install.sh
View
@@ -11,3 +11,4 @@ cp post_npm_install/react-native-scrollable-tab-view/Button.js node_modules/reac
# looks like a BUG
sed -i "s/export default parseHtml = function (html, done) {/export default function (html, done) {/" node_modules/react-native-html-render/lib/htmlParse.js
+sed -i "s/ uri = node.attribs.href;/ let uri = node.attribs.href;/" node_modules/react-native-html-render/lib/htmlRender.js

0 comments on commit f5c2d83

Please sign in to comment.