-
Notifications
You must be signed in to change notification settings - Fork 1
start 2 task #2
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
base: toPR2
Are you sure you want to change the base?
start 2 task #2
Conversation
Markdown/Md.cs
Outdated
| private HtmlToken ParseHeader() | ||
| { | ||
| var headerText = CurrLine.Replace("#", ""); | ||
| headerText = headerText.Replace("\\", ""); |
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.
заинлайни чтоль, Cur...Replace(...).Replace(...)
Markdown/Test/MD_Should.cs
Outdated
| } | ||
|
|
||
| [TestCase("##qwe", ExpectedResult = "<h2>qwe</h2>")] | ||
| [TestCase("qwe\n##qwe\nqwe", ExpectedResult = "<p>qwe</p><h2>qwe</h2><p>qwe</p>")] |
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.
я понимаю, что времени мало, но вообще в тестовых данных хорошо бы писать какую-нибудь полезную информацию
add trim p tag
No description provided.