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
let text = "> # Header\n > And then some note content.\n\n> This is quoted.";
274
+
let text =
275
+
"> # Header\n > And then some note content.\n\n> This is quoted.";
262
276
let processed = rewrite(text);
263
277
assert_eq!(
264
278
render_markdown(&processed),
@@ -268,14 +282,25 @@ mod tests {
268
282
269
283
#[test]
270
284
fnblockquote_then_h1_note(){
271
-
let text = "> This is quoted.\n\n> # Header\n > And then some note content.";
285
+
let text =
286
+
"> This is quoted.\n\n> # Header\n > And then some note content.";
272
287
let processed = rewrite(text);
273
288
assert_eq!(
274
289
render_markdown(&processed),
275
290
"<blockquote>\n<p>This is quoted.</p>\n</blockquote>\n<section class=\"note\" aria-role=\"note\">\n<h1>Header</h1>\n<p>And then some note content.</p>\n</section>"
276
291
);
277
292
}
278
293
294
+
#[test]
295
+
fnblockquote_with_strong(){
296
+
let text = "> **Bold text in a paragraph.**";
297
+
let processed = rewrite(text);
298
+
assert_eq!(
299
+
render_markdown(&processed),
300
+
"<blockquote>\n<p><strong>Bold text in a paragraph.</strong></p>\n</blockquote>\n"
0 commit comments