diff --git a/android/app/build.gradle b/android/app/build.gradle index 70571a2bd5aa..a100aef2d0b1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -156,8 +156,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001024101 - versionName "1.2.41-1" + versionCode 1001024102 + versionName "1.2.41-2" buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() if (isNewArchitectureEnabled()) { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index c05413e3b128..ace133fdf042 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 1.2.41.1 + 1.2.41.2 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index 5282cef6b51f..548839b266f9 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.2.41.1 + 1.2.41.2 diff --git a/package-lock.json b/package-lock.json index 39eb4bbe9875..640c1eea07d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "new.expensify", - "version": "1.2.41-1", + "version": "1.2.41-2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "new.expensify", - "version": "1.2.41-1", + "version": "1.2.41-2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 42dcedf62cd5..f2b82c63f10d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.2.41-1", + "version": "1.2.41-2", "author": "Expensify, Inc.", "homepage": "https://new.expensify.com", "description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 351b3a3956b5..ccb1073fe6a0 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -906,7 +906,7 @@ function editReportComment(reportID, originalReportAction, textForNewComment) { // https://github.com/Expensify/App/issues/9090 const autolinkFilter = {filterRules: _.filter(_.pluck(parser.rules, 'name'), name => name !== 'autolink')}; const htmlForNewComment = parser.replace(textForNewComment, autolinkFilter); - const originalMessageHTML = parser.replace(originalReportAction.message[0].html, autolinkFilter); + const parsedOriginalCommentHTML = parser.replace(parser.htmlToMarkdown(originalCommentHTML), autolinkFilter); // Delete the comment if it's empty if (_.isEmpty(htmlForNewComment)) { @@ -915,7 +915,7 @@ function editReportComment(reportID, originalReportAction, textForNewComment) { } // Skip the Edit if message is not changed - if (originalMessageHTML === htmlForNewComment.trim()) { + if (parsedOriginalCommentHTML === htmlForNewComment.trim()) { return; }