My Bootstrap Popover button:
<button type="button" class="btn btn-secondary" data-container="body" data-bs-toggle="popover" data-placement="left" data-content="CONTENT">
Popover Text
</button>
I want to get this HTML into the data-content so it displays when the popover is clicked:
<a href="@Url.Action("Edit", "RentalHistories", new { id = item.RentalHistoryId })">
EDIT
</a>
Unfortunately the Quotes in the HTML seem to break it. I have tried using single quotes, double quotes and the escape quote code ".