Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Dec 14, 2023
1 parent e168217 commit f111392
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ impl MarkdownHTMLParser {
// By default, there is a `<p>…</p>\n` around the HTML content. That's the
// correct way to handle a text block in Markdown. But it breaks our
// assumption regarding the HTML markup. So let's remove it.
// write me a function that gives me the number of substrings contained in a string:

let html = {
if html.starts_with("<p>") && html.matches("<p>").count() == 1 {
let p = "<p>".len();
Expand Down

0 comments on commit f111392

Please sign in to comment.