我有一个字符串变量,它的值如下。只是一些html内容。
<p>Lorem Ipsum is simpl...</p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the in...</p>
<p>Lorem Ipsum i...</p> <p>Lorem Ipygutyu...</p> <p>Lorem Ipsum is simtyu...</p>
我必须用这样的字体标签将文本包装在所有段落标签内
我怎样才能做到这一点。结果应该是这样的
<p><font face="Arial">Lorem Ipsum idfg dfgs simpl...</font></p>
<p><font face="Arial">Lorem Ipsum is simdfg pl...</font></p>
<p><font face="Arial">Lorem Ipsum ert retreis simpl...</font></p> <p><font face="Arial">Lorem Ipsuertrem is simpl...</font></p> <p><font face="Arial">Lorem Ipsumfghfgh is simpl...</font></p>