expensify-common 2.0.93 → 2.0.95

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.
@@ -118,7 +118,7 @@ class ExpensiMark {
118
118
  // but we should not replace backtick symbols if they include <pre> tags between them.
119
119
  // At least one non-whitespace character or a specific whitespace character (" " and "\u00A0")
120
120
  // must be present inside the backticks.
121
- regex: /(\B|_|)&#x60;((?:&#x60;)*(?!&#x60;).*?[\S| |\u00A0]+?.*?(?<!&#x60;)(?:&#x60;)*)&#x60;(\B|_|)(?!&#x60;|[^<]*<\/pre>|[^<]*<\/video>)/gm,
121
+ regex: /(\B|_|)&#x60;((?:&#x60;)*(?!&#x60;).*?[\S| |\u00A0]+?.*?(?<!&#x60;)(?:&#x60;)*)&#x60;(\B|_|)(?!&#x60;|(?!<pre>)[^<]*(?:<(?!pre>)[^<]*)*<\/pre>|[^<]*<\/video>)/gm,
122
122
  replacement: (_extras, _match, g1, g2, g3) => {
123
123
  const g2Value = g2.trim() === '' ? g2.replaceAll(' ', '&nbsp;') : g2;
124
124
  return `${g1}<code>${g2Value}</code>${g3}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expensify-common",
3
- "version": "2.0.93",
3
+ "version": "2.0.95",
4
4
  "author": "Expensify, Inc.",
5
5
  "description": "Expensify libraries and components shared across different repos",
6
6
  "homepage": "https://expensify.com",