title: Angular 9: [innerHTML] not working without sanitizing the value even for plain string
body: <p>I have 2 angular 9 apps in monospace. </p>
  
  <p>The following code prints no text on the browser document in one of the app,</p>
  
  <p>Component:</p>
  
  <pre><code>myText = "some text"
  </code></pre>
  
  <p>Template:</p>
  
  <pre><code>&lt;p [innerHtml]="myText"&gt;&lt;p&gt;
  </code></pre>
  
  <p>If i write anything inside the paragraph even that is not getting printed:</p>
  
  <pre><code>&lt;p [innerHtml]="myText"&gt;Test&lt;p&gt;         // Test is also not getting printed
  </code></pre>
  
  <p>However,If i <strong>sanitize</strong> the <code>myText</code> value it works fine.</p>
  
  <p>Component:</p>
  
  <pre><code>// sanitizer is injected DomSanitizer service
  myText  = this.sanitizer.bypassSecurityTrustHtml("some text");
  </code></pre>
  
  <p>Template:</p>
  
  <pre><code>&lt;p [innerHtml]="myText"&gt;&lt;p&gt;
  </code></pre>
  
  <p>But in my other app it works fine. </p>
  
  <p>Has anyone come across similar issue? Is there any app configuration or something which has made sanitization mandatory for innerHTML?</p>