diff --git a/resources/dist/index.js b/resources/dist/index.js index cfd6c4324..608a6a1f9 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map b/resources/dist/index.js.map index f7eaf02a6..0a7d7b043 100644 Binary files a/resources/dist/index.js.map and b/resources/dist/index.js.map differ diff --git a/src/formatter.js b/src/formatter.js index 230338cc4..096f547e4 100644 --- a/src/formatter.js +++ b/src/formatter.js @@ -12,8 +12,15 @@ function htmlize( plainTextExtract, title ) { if ( plainTextExtract === undefined ) { return []; } + extract = removeParentheticals( extract ); extract = removeEllipsis( extract ); + + // After cleaning the extract it may have been blanked + if ( extract.length === 0 ) { + return []; + } + extract = makeTitleInExtractBold( extract, title ); return extract; }