React Native Web View无法支持<p> </p> <li>标记

时间:2018-06-09 07:33:50

标签: react-native

我尝试使用webview显示数据库中的内容,但无法删除

标记。 如何解决这个问题

听取我的内容

&lt;p&gt;Enjoy enhanced productivity while you're on the go with this Samsung 
XE500C12-K01US Chromebook that allows efficient computing in a compact 
footprint. The Intel® Celeron® processor delivers reliability for 
everyday mobile computing.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;

代码:

<WebView  source={{html: product_info.description}} 
 style={{marginTop: 20, height:200}}
/>

使用WebView后的结果

<p>Enjoy enhanced productivity while you're on the go with this Samsung 
XE500C12-K01US Chromebook that allows efficient computing in a compact 
footprint. The Intel® Celeron® processor delivers reliability for 
everyday mobile computing.</p>

0 个答案:

没有答案