-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove from inline code block in raw input mode #829
Remove from inline code block in raw input mode #829
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromeandroid-web.moviOS: Nativeios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
We have a small bug related with these changes 😅 2025-01-13.16.48.10.mov |
} | ||
return `${g1}<code>${g2Value}</code>${g3}`; | ||
}, | ||
rawInputReplacement: (_extras, match, g1, g2, g3) => (g2 ? `${g1}<code>${g2}</code>${g3}` : match), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZhenjaHorbach fixed! |
Thanks ! |
Everything is good now ! |
@Skalakid |
@ZhenjaHorbach added tests 🫡 |
Looks perfect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for writing tests!
@Skalakid |
@ZhenjaHorbach Here is a PR to the E/App |
Thanks ! |
This PR removes replacing whitespaces with in raw input mode, so the Live Markdown Input can render markdown styles when there are only spaces between backticks
Fixed Issues
Expensify/App#53457
Tests
shouldKeepRawInput
prop totrue
' '
(replace ' with `) is the same and the inputQA