diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index f4d539e995..8fd4891e1f 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -29,9 +29,15 @@ data_export_options = $(this).attr('data-export-options'); export_options = data_export_options ? JSON.parse(data_export_options) : {}; export_options['htmlContent'] = false; // this is already the default; but let's be explicit about it - export_options['jspdf']= {"orientation": "l"}; - export_options['jspdf'] = {"autotable": {"styles": {overflow: 'linebreak'}, - tableWidth: 'wrap'}}; + export_options['jspdf'] = { + "orientation": "l", + "autotable": { + "styles": { + overflow: 'linebreak' + }, + tableWidth: 'wrap' + } + }; // tableWidth: 'wrap', // the following callback method is necessary to prevent XSS vulnerabilities // (this is taken from Bootstrap Tables's default wrapper around jQuery Table Export)