Current behavior
The input contains an ampersand as an HTML entity.
<button>Apples & Oranges</button>
In the output, the ampersand is changed to a single character. Probably because that's what <textarea> does.
<button>Apples & Oranges</button>
Expected behavior
The HTML entity should be unchanged.
Current behavior
The input contains an ampersand as an HTML entity.
<button>Apples & Oranges</button>In the output, the ampersand is changed to a single character. Probably because that's what
<textarea>does.<button>Apples & Oranges</button>Expected behavior
The HTML entity should be unchanged.