I have the following HTML value added by one of our clients that generates an issue when opening up the Excel file:
<span style="font-family: 'Segoe UI', Arial, Helvetica, sans-serif; font-size: 12px;">Text was entered here</span>
I have traced the issue to the fact that there are 4 fonts described in the style attribute of the span tag.
My question is:
- Are you able to modify the HtmlString function to strip the 2nd and subsequent font name from the font-family?