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.
@@ -253,7 +253,8 @@ class ExpensiMark {
253
253
  const regex = /^(?:&gt;)+ +(?! )(?![^<]*(?:<\/pre>|<\/code>))([^\v\n\r]+)/gm;
254
254
  const replaceFunction = (g1) => replacement(g1, shouldKeepRawInput);
255
255
  if (shouldKeepRawInput) {
256
- return textToProcess.replace(regex, replaceFunction);
256
+ const rawInputRegex = /^(?:&gt;)+ +(?! )(?![^<]*(?:<\/pre>|<\/code>))([^\v\n\r]*)/gm;
257
+ return textToProcess.replace(rawInputRegex, replaceFunction);
257
258
  }
258
259
  return this.modifyTextForQuote(regex, textToProcess, replacement);
259
260
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expensify-common",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "author": "Expensify, Inc.",
5
5
  "description": "Expensify libraries and components shared across different repos",
6
6
  "homepage": "https://expensify.com",