title: How to insert HTML code into HTML file from a .gs using Google Apps Script
body: <p>My variables I'm inserting into an HTML file using the code below inserts the variables as plaintext and does not register code within my variables.</p>
  
  <pre><code>function sendEmail(){
  var htmlBody = HtmlService.createTemplateFromFile('emailFormat');
  var variableOne = "text";
  
  htmlBody.example = '&lt;p&gt;' + variableOne + '&lt;/p&gt;';
  
  var email_html = htmlBody.evaluate().getContent();
  
    MailApp.sendEmail({
      to: "email@email.com",
      subject: "subject",
      htmlBody: email_html
    });
  }
  </code></pre>
  
  <p>The code above makes anywhere I put <code>&lt;?= example ?&gt;</code> within the file 'emailFormat' become <code>"&lt;p&gt;text&lt;/p&gt;"</code>. The problem is it does not display it as "text" it displays <code>"&lt;p&gt;text&lt;/p&gt;"</code> entirely. How do I get it to show register the <code>&lt;p&gt;'s</code> as code?</p>