diff --git a/lib/ExpensiMark.ts b/lib/ExpensiMark.ts index 1a737364..4f0336f7 100644 --- a/lib/ExpensiMark.ts +++ b/lib/ExpensiMark.ts @@ -190,7 +190,7 @@ export default class ExpensiMark { // Use the url escaped version of a backtick (`) symbol. Mobile platforms do not support lookbehinds, // so capture the first and third group and place them in the replacement. // but we should not replace backtick symbols if they include
tags between them. - // At least one non-whitespace character or a specific whitespace character (" " and "\u00A0") + // At least one non-whitespace character or a specific whitespace character (" " and "\u00A0") // must be present inside the backticks. regex: /(\B|_|)`((?:`)*(?!`).*?[\S| |\u00A0]+?.*?(?|[^<]*<\/video>)/gm, replacement: (_extras, _match, g1, g2, g3) => {