do not show html column in csv.

libreoffice and excel flub it if a cell is
over 32k or so.
This commit is contained in:
Matt Wells 2014-02-26 15:03:05 -08:00
parent 6445b0572b
commit b450bfc2a6

View File

@ -5302,6 +5302,14 @@ bool printJsonItemInCSV ( char *json , SafeBuf *sb , State0 *st ) {
ji = ptrs[i];
// skip if none
if ( ! ji ) continue;
// skip "html" field... too spammy for csv and > 32k causes
// libreoffice calc to truncate it and break its parsing
if ( ji->m_name &&
//! ji->m_parent &&
strcmp(ji->m_name,"html")==0)
continue;
//
// get value and print otherwise
//