Skip to content

Commit

Permalink
Merge pull request #885 from tomcur/remove-unnecessary-set
Browse files Browse the repository at this point in the history
fix: remove unnecessary end_newline set
  • Loading branch information
Martin1887 committed May 8, 2024
2 parents 1cfaf02 + 8fde095 commit a9a6ed7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pulldown-cmark/src/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ where
attrs,
} => {
if self.end_newline {
self.end_newline = false;
self.write("<")?;
} else {
self.write("\n<")?;
Expand Down

0 comments on commit a9a6ed7

Please sign in to comment.