I am attempting to store HTML tags that contain "" and '' in a html inputs value but this escapes the HTML inputs value and displays the HTML on the page rather than being stored in the inputs value for me to then submit.
What is happening is that the "" and '' inside the HTML tag is closing the existing "" and '' causing the issue.
I have tried using escape and adding slashes neither solution works.
<input type="hidden" name="name" id="id1" value="<p><span style="font-family:'Noto Sans JP';">Enter text here.</span></p>"/>