I have a string that stores HTML and in which there is a link to the image
...
<img src="~/images/logo.png" class="img-fluid"/>
...
I see that the problem is that in this case the path breaks and the value ~/ is not substituted after @Html.Raw.
Why is this happening? Should I parse the string first and change the path by myself?