diff --git a/src/html/djot.rs b/src/html/djot.rs index 45a6f8d..5e475de 100644 --- a/src/html/djot.rs +++ b/src/html/djot.rs @@ -311,6 +311,9 @@ impl<'a> Writer<'a> { } match c { + Container::Heading { id, .. } => { + write!(out, r##">"##)?; + } Container::TableCell { alignment, .. } if !matches!(alignment, Alignment::Unspecified) => { @@ -445,7 +448,7 @@ impl<'a> Writer<'a> { } out.push_str("
"); } - Container::Heading { level, .. } => write!(out, "")?, + Container::Heading { level, .. } => write!(out, "")?, Container::TableCell { head: false, .. } => out.push_str(""), Container::TableCell { head: true, .. } => out.push_str(""), Container::Caption => out.push_str(""),