Skip to content
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

Add support for inline image #256

Merged
merged 14 commits into from
Apr 9, 2024
Merged

Add support for inline image #256

merged 14 commits into from
Apr 9, 2024

Conversation

tomekzaw
Copy link
Collaborator

@tomekzaw tomekzaw commented Mar 29, 2024

Details

This PR adds support for inline images inserted with the following syntax: ![alt text](http://example.com).

Related Issues

Expensify/App#39275

Manual Tests

Linked PRs

parser/__tests__/index.test.js Show resolved Hide resolved
});

test('blockquote in alt', () => {
// TODO: this test is failing !!!
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mark it as "xfail" or just fix it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this comment should be removed, test is already fixed

parser/index.ts Outdated Show resolved Hide resolved
parser/index.ts Outdated Show resolved Hide resolved
@robertKozik robertKozik marked this pull request as ready for review April 8, 2024 12:26
@robertKozik robertKozik self-requested a review April 8, 2024 20:45
robertKozik
robertKozik previously approved these changes Apr 8, 2024
Copy link
Collaborator

@robertKozik robertKozik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀 ✅ 👀

@tomekzaw
Copy link
Collaborator Author

tomekzaw commented Apr 8, 2024

It seems like there's some problem with the following input:

Screenshot 2024-04-09 at 00 19 41

@robertKozik robertKozik merged commit bb63ffb into main Apr 9, 2024
2 checks passed
@robertKozik robertKozik deleted the @tomekzaw/inline-image branch April 9, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants