title: Placeholder text set by javascript not decoding HTML encoded special characters
body: <p>When setting placeholder text via javascript, special characters are not displaying properly. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function myFunction() {
      document.getElementById("myText").placeholder = "&amp;#201;v&amp;#233;nement";
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="text" id="myText" placeholder="&amp;#201;v&amp;#233;nement"&gt;
  
  &lt;p&gt;Click the button to change the placeholder text of the text field.&lt;/p&gt;
  
  &lt;button onclick="myFunction()"&gt;Try it&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Output is: "&amp;#201;v&amp;#233;nement"</p>
  
  <p>Expected output: "Événement"</p>
  
  <p>Looking for a javascript solution where I can convert any text containing any encoded character. </p>