title: Tab ( \t ) is not working correctly in Javascript Function
body: <p>There is a function which send an email via default email client. In body of email message, there are few tabs between words. But, when I send this message to default email client, these tabs are not present.</p>
  
  <p>JavaScript Code:</p>
  
  <pre><code>function SendMail() {
          try {
               var mailAddress = 'test@gmail.com';
               var mailSubject = 'Mail Subject';
           var mailBody = 'Text   goes    here';
           location.href = 'mailto:' + encodeURIComponent(mailAddress) +
                  '?subject=' + encodeURIComponent(mailSubject) +
                  '&amp;body=' + encodeURIComponent(mailBody);
              }
              catch (err) { alert(err);} 
          }
  </code></pre>
  
  <p>Test Output: <code>Text goes here</code>
  But, there should be tab instead of space between words.
  Anybody, help me what's wrong with this ?</p>