title: ConvertTo-Html modifies a text variable
body: <p>I am trying to write a variable contents into a html file, but it gets modified by ConvertTo-Html.
  the code:</p>
  
  <pre><code>$nb = 10
  $text = '&lt;font color="#008000"&gt;All ' + $nb + ' test(s) passed&lt;/font&gt;'
  $file  = "$env:USERPROFILE\Desktop\test.html"
  Write-Host "`$text = "
  Write-Host $text
  Write-Host
  Write-Host "(`$text | ConvertTo-Html -Fragment) ="
  $text | ConvertTo-Html -Fragment
  </code></pre>
  
  <p>prints:</p>
  
  <pre><code>$text = 
  &lt;font color="#008000"&gt;All 10 test(s) passed&lt;/font&gt;
  
  ($text | ConvertTo-Html -Fragment) =
  &lt;table&gt;
  &lt;colgroup&gt;&lt;col/&gt;&lt;/colgroup&gt;
  &lt;tr&gt;&lt;th&gt;*&lt;/th&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;50&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>how can I prevent the modification of my variable $text ?
  I'm using powershell 4.0</p>