title: How do I display html encoded values in svg?
body: <p>I am using d3 to generate svg and end up with markup similar to the following:</p>
  
  <pre><code>&lt;text class="rule" text-anchor="middle"&gt;&amp;amp;pound;10K&lt;/text&gt;
  </code></pre>
  
  <p>Compare to similar html that renders as expected.</p>
  
  <pre><code>&lt;div&gt;
      &amp;pound;20,160 - &amp;pound;48,069
  &lt;/div&gt;
  </code></pre>
  
  <p>Is there a property I need to set on the svg tag to get a similar type of encoding? I tried adding a meta tag to the page <code>&lt;meta name="content" content="application/xhtml+xml; charset=utf-8" /&gt;</code> but this did not work.</p>