You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/rari-md/src/lib.rs
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -202,6 +202,16 @@ mod test {
202
202
Ok(())
203
203
}
204
204
205
+
#[test]
206
+
fnnote_zh_locale() -> Result<(), anyhow::Error>{
207
+
let out = m2h("> [!NOTE]\n> This paragraph should have no leading spaces",Locale::ZhCn)?;
208
+
assert_eq!(
209
+
out,
210
+
"<div class=\"notecard note\" data-add-note data-sourcepos=\"1:1-2:46\">\n<p data-sourcepos=\"1:3-2:46\">This paragraph should have no leading spaces</p>\n</div>\n"
0 commit comments