diff --git a/src/helpers/text-helper.js b/src/helpers/text-helper.js index 220b1d3f..6ff5ad47 100644 --- a/src/helpers/text-helper.js +++ b/src/helpers/text-helper.js @@ -18,7 +18,7 @@ export function stripRteStyle(stringWithStyleTag) { * @returns {string} converted string wrapped in an
    */ export function createOrderedListFromStringOfParagraphs(stringOfParagraphs) { - return `
      ${stringOfParagraphs.replaceAll('

      ', '

    1. ').replaceAll('

      ', '
    2. ')}
    `; + return `
      ${stringOfParagraphs.replaceAll('

      ', '').replaceAll('

      ', '

    1. ').replaceAll('

      ', '
    2. ')}
    `; } /**