可以用以下正则表达式解析
html.replace(/\<img/gi, '<img style="max-width:100%;height:auto;"');
html.replace(/\<video/gi,"<video style='max-width:100%;height:300rpx;'")
可以用以下正则表达式解析
html.replace(/\<img/gi, '<img style="max-width:100%;height:auto;"');
html.replace(/\<video/gi,"<video style='max-width:100%;height:300rpx;'")