Fix console error shows up when opening description that contains code block#44881
Fix console error shows up when opening description that contains code block#44881bernhardoj wants to merge 2 commits intoExpensify:mainfrom
Conversation
There was a problem hiding this comment.
patch removed because it's implemented in Expensify/react-native-live-markdown#406
|
There is another PR that bumps live-markdown to 0.1.91 here. Maybe we want to hold on that first? |
Reviewer Checklist
Screenshots/Videos |
|
Good call, let's hold on that |
|
Hi! We have found a bug in v0.1.92 of I'll give you an update on that, but it's something we need to consider before bumping the version to >0.1.91 |
|
Hi @bernhardoj, the fix for the bug from the live markdown library from version |






Details
The console error is a parsing error from live-markdown. This PR fix it.
Fixed Issues
$ #43750
PROPOSAL: #43750 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Parsing error: the processed text does not match the original Markdown input.error.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
MacOS: Chrome / Safari
Screen.Recording.2024-06-25.at.13.32.56.mov
MacOS: Desktop
Screen.Recording.2024-06-25.at.19.59.10.mov
iOS: mWeb Safari
Screen.Recording.2024-06-25.at.20.02.21.mov
iOS: Native
Screen.Recording.2024-06-25.at.20.06.46.mov
Android: mWeb Chrome
Screen.Recording.2024-06-25.at.20.08.08.mov
Android: Native
Screen.Recording.2024-06-25.at.20.12.54.mov