fixup! 8f3daefd9e69a6457cd20fdbcaa5189734d4e67b

This commit is contained in:
Noah Hellman 2022-12-02 20:07:37 +01:00
parent 7f540505a8
commit 0d7b19c3d4

View file

@ -254,8 +254,8 @@ impl Block {
'`'
};
let mut c = line.chars();
!((&mut c).take((fence_length).into()).all(|c| c == ':')
&& c.next().map_or(false, char::is_whitespace))
!((&mut c).take((fence_length).into()).all(|c| c == fence)
&& c.next().map_or(true, char::is_whitespace))
}
}
}