expensify-common
Advanced tools
Comparing version 2.0.41 to 2.0.42
@@ -897,4 +897,4 @@ "use strict"; | ||
} | ||
// Insert '\n' unless it ends with '\n' or '>' or it's the last element. | ||
if (text.match(/[\n|>][>]?[\s]?$/) || index === splitText.length - 1) { | ||
// Insert '\n' unless it ends with '\n' or '>' or it's the last element, or if it's a header ('# ') with a space. | ||
if (text.match(/[\n|>][>]?[\s]?$/) || index === splitText.length - 1 || text === '# ') { | ||
joinedText += text; | ||
@@ -901,0 +901,0 @@ } |
{ | ||
"name": "expensify-common", | ||
"version": "2.0.41", | ||
"version": "2.0.42", | ||
"author": "Expensify, Inc.", | ||
@@ -5,0 +5,0 @@ "description": "Expensify libraries and components shared across different repos", |
491753