I am trying to generate excel file and my data is in the form of HTML string. The html string has hyperlinks(anchor tags) in them. the column 1 has a hyperlink and some text after that. however, when viewed in Excel, it makes all the text in that cell as hyperlink. Is it possible to restrict that. Open the below file in browser and it works fine. When opened in excel, it hyperlinks everything in that cell.
<!DOCTYPE html>
<html>
<body>
<table>
<tr>
<td>
<p><a href="https://www.w3schools.com/html/">Visit our HTML tutorial</a>
This is a sample text</p>
</td>
<td>column 2</td>
</tr>
</table>
</body>
</html>
enter code here