Showing
1 changed file
with
1 additions
and
1 deletions
@@ -109,7 +109,7 @@ export default class DetailText extends React.Component { | @@ -109,7 +109,7 @@ export default class DetailText extends React.Component { | ||
109 | return ( | 109 | return ( |
110 | <View style={{width: width,height: this.state.realContentHeight,backgroundColor: 'white'}}> | 110 | <View style={{width: width,height: this.state.realContentHeight,backgroundColor: 'white'}}> |
111 | <WebView style={{width: width-40,height: this.state.realContentHeight,backgroundColor: 'white',marginRight: 20,marginLeft: 20}} | 111 | <WebView style={{width: width-40,height: this.state.realContentHeight,backgroundColor: 'white',marginRight: 20,marginLeft: 20}} |
112 | - source= {{html: codeInject(text)}} | 112 | + source= {{html: codeInject(text), baseUrl: ''}} |
113 | scrollEnabled={false} | 113 | scrollEnabled={false} |
114 | javaScriptEnabled={true} | 114 | javaScriptEnabled={true} |
115 | decelerationRate="normal" | 115 | decelerationRate="normal" |
-
Please register or login to post a comment