Skip to content

Commit

Permalink
fix semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
carloskiki committed Aug 31, 2024
1 parent dfbe1b3 commit d14bd2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mathml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -868,12 +868,13 @@ where
}

if let Some(annotation) = self.config.annotation {
self.writer.write_all(b"</mrow>")?;
write!(
self.writer,
"<annotation encoding=\"application/x-tex\">{}</annotation>",
annotation
)?;
self.writer.write_all(b"</mrow></semantics>")?;
self.writer.write_all(b"</semantics>")?;
}
self.writer.write_all(b"</math>")
}
Expand Down

0 comments on commit d14bd2c

Please sign in to comment.