title: How to add WooCommerce product content with html via rest api
body: <p>I manage to generate simple Woocommerce product over REST api.
  I fail to add product content with html code (e.g. table in my case).</p>
  
  <p>The rest api </p>
  
  <pre><code> $api_response = wp_remote_post( $client_domain . '/wp-json/wc/v3/products', array( 
  'headers' =&gt; array(
      'Authorization' =&gt; 'Basic ' . base64_encode( $K.':'.$S )
  ),
  'body' =&gt; array(
      'name' =&gt; $product_name,        // product title
      // 'status' =&gt; 'publish',         // default: publish
      'type' =&gt; 'simple',
      'categories' =&gt; array(
          array( 
              'id' =&gt; 22       // each category in a separate array
          )
      ),
      'regular_price' =&gt; $price,      // product regular price
      'price' =&gt; $price,               // current product price
      'description' =&gt; $allTable,   // **** HTML TABLE ... *****
      'short_description' =&gt; 'tilesim user product',
      'visible' =&gt; true,        // current product price  'images' =&gt; [ ['src' =&gt; $pimage] ] // array( "src" =&gt; $pimage)
      'images' =&gt; [
                  [
                      'src' =&gt; $pimage 
                  ],
                  [
                      'src' =&gt; $rimage 
                  ]
              ]
  
  )
  </code></pre>
  
  <p>The line with commented starts (****) has the variable (<code>$allTable</code>) that will be displayed as raw html instead of a table:</p>
  
  <p>![beautified html]<a href="https://s-ivry.tilesim.co.il/wp-content/uploads/2019/01/woo_product_html.png" rel="nofollow noreferrer">https://s-ivry.tilesim.co.il/wp-content/uploads/2019/01/woo_product_html.png</a>)</p>
  
  <p>How do I get over this issue and get the table, not the html markup?</p>