expensify-common 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ExpensiMark.js +2 -1
- package/package.json +1 -1
package/dist/ExpensiMark.js
CHANGED
|
@@ -253,7 +253,8 @@ class ExpensiMark {
|
|
|
253
253
|
const regex = /^(?:>)+ +(?! )(?![^<]*(?:<\/pre>|<\/code>))([^\v\n\r]+)/gm;
|
|
254
254
|
const replaceFunction = (g1) => replacement(g1, shouldKeepRawInput);
|
|
255
255
|
if (shouldKeepRawInput) {
|
|
256
|
-
|
|
256
|
+
const rawInputRegex = /^(?:>)+ +(?! )(?![^<]*(?:<\/pre>|<\/code>))([^\v\n\r]*)/gm;
|
|
257
|
+
return textToProcess.replace(rawInputRegex, replaceFunction);
|
|
257
258
|
}
|
|
258
259
|
return this.modifyTextForQuote(regex, textToProcess, replacement);
|
|
259
260
|
},
|