title: How to escape characters in href=mailto (iPhone)
body: <p>I want to create a link on a UIWebView that emails content to the user.  A simple example is:</p>
  
  <pre><code>&lt;a href="mailto:zippy@example.com?subject=Sarcasm&amp;body=I »
  &lt;b&gt;love&lt;/b&gt; &amp;lt;html&amp;gt; mail!"&gt;Hi!&lt;/a&gt;
  </code></pre>
  
  <p>Which creates a message that looks like this:</p>
  
  <p>-- begin message ---</p>
  
  <p>To: zippy@example.com
  Subject: Sarcasm</p>
  
  <p>I love  mail!</p>
  
  <p>-- end message --</p>
  
  <p>I need something more elaborate.  The subject will contain multiple words with spaces.  The body will contain HTML, list (&lt;ul&gt;) and hyperlinks with quotes in their href.  How do I create something like that?</p>
  
  <p>Here's an example:</p>
  
  <p>subject= "This is only a test"</p>
  
  <p>body= "This is the body part.  Here's a list of links:<br>
  &lt;ul&gt;<br>
    &lt;li&gt;&lt;a href="http://www.abc.com">abc.com&lt;/a&gt;&lt;/li&gt;<br>
    &lt;li&gt;&lt;a href="http://www.xyz.com">xyz.com&lt;/a&gt;&lt;/li&gt;<br>
  &lt;/ul&gt;<br>
  The end."</p>
  
  <p>Also, why does the simulator do anything when clicking a mailto link?</p>