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

fix: cut plugin && add tests #338

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

Kiri111enz
Copy link
Contributor

@Kiri111enz Kiri111enz commented Nov 29, 2023

resolve #252

'</div>',
);
});
it('should close all tags correctly and insert two p tags', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add a new line before this string?

'<div class="yfm-cut-content"><p>Some text</p><p>Some text</p></div></div></li></ul>',
);
});
it('should close all tags correctly when given a bullet-list with several items', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

And here

@vsesh vsesh merged commit ac31450 into diplodoc-platform:master Dec 11, 2023
1 check passed
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.

Incorrect Cut behavior inside lists
2 participants