-
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
allow heading inside a quote #522
Conversation
@Santhosh-Sellavel I think if you leave a comment I will be able to add you as a reviewer, I think the settings for this repo are not properly set so I can't add external people. |
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.
Adding myself as a reviewer
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.
The test cases make sense. I'm not well versed in markdown and string manipulation. I'd wait other people's preview.
8caa125
to
cfab451
Compare
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, @pecanoro all yours!
Will test PR against E/APP!
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.
Tested well!
@Santhosh-Sellavel @eh2077 Do you know why we remove the empty line after the heading in case 2 but we leave the one above the heading? I mean, that's the behavior with and without quotes but I find it pretty odd. |
@pecanoro That's an interesting question. I guessed it's just because the product team want to have line breaks before heading and want to keep content after heading look compact(so removing line breaks after heading). |
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!
@pecanoro I just encountered this again in another issue when addressing proposal review feedback from C+ team, see Expensify/App#17998 (comment). I think it's possible to improve this weird line break handling issue in that issue. |
I believe we are good to go here, for now. We have an active issue to fix or improve that behavior @pecanoro Do you got your query resolved or still need clarfications? |
Yes! Sorry, all comments are solved! I took a day off so I couldn't get back to this until today! |
Fixed Issues
Expensify/App#17367
Tests
> # heading
Screen.Recording.2023-04-25.at.11.57.42.AM.mov
QA
Same as Tests above