title: Remove <span> from column on XLS export
body: <p>I have a working jQuery DataTable (<a href="https://www.datatables.net/" rel="nofollow">https://www.datatables.net/</a>) using the TableTools plug-in with <code>&lt;span&gt;</code> elements in every row of one of the columns.</p>
  
  <p>On clicking the export button, I would like to hide/remove the <code>&lt;span&gt;</code> elements from the exported file. Not remove the whole columns, but just the <code>&lt;span&gt;</code> elements within that column.</p>
  
  <p>How can I achieve this? I understand how to remove an entire column from the export, but I have not found a way to remove particular elements from the export.</p>
  
  <p>Thanks</p>
  
  <p><strong>UPDATED</strong></p>
  
  <pre><code>    "oTableTools": {
          "sSwfPath": "/public/swf/copy_csv_xls_pdf.swf",
          "aButtons": [
              {
                  "sExtends": "print",
              },
              {
                  "sExtends": "copy",
              },
              {
                  "sExtends": "csv",                   
                  "fnCellRender": function ( sValue, iColumn, nTr, iDataIndex ) {
                      return sValue;
                   }               
              }
          ]
        }
  </code></pre>
  
  <p>I have the <code>fnCellRender</code> in place, I'm just not sure what the best way is to strip out <code>&lt;span&gt;</code> elements.</p>