I'm encountering a bit of trouble and I was hoping someone could provide some assistance - Is it feasible to display HTML within a p tag in a .vue file?
Below is the HTML snippet:
<div class="content" :id="post['GUID']" ref="snapshot">
<p id="summary">{{ post['Summary'] }}</p>
</div>
I am attempting to show the post['Summary']
as HTML, but the summary is currently showing up as plaintext like this:
<div class="ExternalClass394D5102B42B4570882C28EA620584C8"><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:11pt;color:rgb(0, 0, 0);"><span style="color:black;"><p style="margin:0in;font-size:12pt;font-family:"Times New Roman", serif;"><i><span style="font-family:"Whitney Medium";color:black;">Upping Your Game!</span></i>
How can I successfully render an HTML tag inside a p in a .vue file?