Skip to content

Commit

Permalink
fix: remove trailing space after doctype closing tag (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
bram209 authored Sep 28, 2024
1 parent 3875928 commit 8060822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formatter/src/formatter/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Formatter<'_> {
pub fn doctype(&mut self, doctype: &NodeDoctype) {
self.printer.word("<!DOCTYPE ");
self.raw_text(&doctype.value, false);
self.printer.word("> ");
self.printer.word(">");
}

pub fn node_text(&mut self, text: &NodeText) {
Expand Down

0 comments on commit 8060822

Please sign in to comment.