Skip to content

Commit

Permalink
fix: remove doctype space (fixes #66)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidhanio committed Nov 18, 2024
1 parent b9d1d94 commit e5ea99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypertext-macros/src/rstml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl Generate for NodeComment {

impl Generate for NodeDoctype {
fn generate(&self, gen: &mut Generator) {
gen.push_str("<! ");
gen.push_str("<!");
gen.push_spanned_str("DOCTYPE", self.token_doctype.span());
gen.push_str(" ");
gen.push(&self.value);
Expand Down

0 comments on commit e5ea99c

Please sign in to comment.