title: SyntaxError: missing ) after argument list in while compiling ejs
body: <p>I am getting the error: missing ) after argument list  while compiling ejs.
  I tried many times, but I can't find the problem. </p>
  
  <p>Here's the ejs that causes errors.
  What is the problem with this code?</p>
  
  <pre><code>&lt;%- include('../_layouts/adminheader') %&gt;
  
  &lt;h2 class='page-title'&gt;Products&lt;/h2&gt;
  &lt;br&gt;
  &lt;a href="/admin/products/add-product" class="btn btn-primary"&gt;Add a new product&lt;/a&gt;
  &lt;br&gt;&lt;br&gt;
  
  &lt;% if (count &gt; 0) { %&gt;
  
  &lt;table class="table table-striped"&gt;
      &lt;thead&gt;
          &lt;tr class="home"&gt;
              &lt;th&gt;Product&lt;/th&gt;
              &lt;th&gt;Price&lt;/th&gt;
              &lt;th&gt;Category&lt;/th&gt;
              &lt;th&gt;Product Image&lt;/th&gt;
              &lt;th&gt;Edit&lt;/th&gt;
              &lt;th&gt;Delete&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;% products.forEach(function(product) { %&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;%= product.title %&gt;&lt;/td&gt;
              &lt;td&gt;$&lt;%= parseFloat(product.price).toFixed(2) %&gt;&lt;/td&gt;
              &lt;td&gt;&lt;%= product.category %&gt;&lt;/td&gt;
              &lt;td&gt;
                  &lt;% if (product.image == "") { %&gt;
                  &lt;img src="/images/noimage.png"&gt;
                  &lt;% } else { %&gt;
                  &lt;img src="product_images/&lt;%= product._id %&gt;/&lt;%= product.image %&gt;"&gt;
                  &lt;% }%&gt;
              &lt;/td&gt;
              &lt;td&gt;&lt;a href="/admin/products/edit-product/&lt;%= product._id %&gt;"&gt;Edit&lt;/a&gt;&lt;/td&gt;
              &lt;td&gt;&lt;a  href="/admin/products/delete-product/&lt;%= product._id %&gt;" onclick="return confirm('Are you sure you want to delete this item?');"&gt;Delete&lt;/a&gt;&lt;/td&gt;
              &lt;% } %&gt;
          &lt;/tr&gt;
          &lt;% }); %&gt;
      &lt;/tbody&gt;&gt;
  &lt;/table&gt;&gt;
  &lt;% } else { %&gt;
  &lt;h3 class="text-center"&gt;There are no products.&lt;/h3&gt;&gt;
  &lt;% } %&gt;
  &lt;%- include('../_layouts/adminfooter') %&gt;
  </code></pre>