Fix closing of EOF open preformat context

This commit is contained in:
Juno Takano 2026-01-01 03:05:44 -03:00
commit bb5dde6c2e
10 changed files with 47 additions and 32 deletions

View file

@ -10,7 +10,7 @@ use crate::{
use std::fmt::Display;
#[derive(Debug)]
#[derive(Debug, Eq, PartialEq)]
pub struct Header {
open: Option<bool>,
level: Level,
@ -111,7 +111,7 @@ impl Parseable for Header {
}
}
#[derive(Debug)]
#[derive(Debug, Eq, PartialEq)]
pub enum Level {
One,
Two,