diff --git a/features/searchHighlight/dataTables.searchHighlight.js b/features/searchHighlight/dataTables.searchHighlight.js index 44d59fe..c075994 100644 --- a/features/searchHighlight/dataTables.searchHighlight.js +++ b/features/searchHighlight/dataTables.searchHighlight.js @@ -1,11 +1,11 @@ -/*! SearchHighlight for DataTables v1.0.0 +/*! SearchHighlight for DataTables v1.0.1 * 2014 SpryMedia Ltd - datatables.net/license */ /** * @summary SearchHighlight * @description Search term highlighter for DataTables - * @version 1.0.0 + * @version 1.0.1 * @file dataTables.searchHighlight.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact @@ -53,7 +53,7 @@ $(document).on( 'init.dt.dth', function (e, settings, json) { // Don't highlight the "not found" row if ( table.rows( { filter: 'applied' } ).data().length ) { - body.highlight( table.search() ); + body.highlight( table.search().split(' ') ); } } ) .on( 'destroy', function () {