View Single Post
 
Old 08-31-2023, 10:13 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I'm not very elegant so I would be running a String Replace function on the entire html string
Code:
Find: <LI Class=MsoListNumber>
Replace with: <LI Class=MsoListNumber><P Class=MsoListNumber>

and 
Find: </LI>
Replace with: </p></LI>

Or if you didn't need the nested tags you could replace <LI and </LI> with <P and </P> respectively
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote