diff --git a/core/server/helpers/index.js b/core/server/helpers/index.js index 0d756d3c1d..1f5ecdbf61 100644 --- a/core/server/helpers/index.js +++ b/core/server/helpers/index.js @@ -192,6 +192,7 @@ coreHelpers = function (ghost) { /*jslint regexp:true */ excerpt = String(this.html).replace(/<\/?[^>]+>/gi, ''); + excerpt = excerpt.replace(/(\r\n|\n|\r)+/gm, ' '); /*jslint regexp:false */ if (!truncateOptions.words && !truncateOptions.characters) {