Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: test for escaped shortcodes

+3 -3
+3 -3
crates/maudit/src/content/markdown/shortcodes_tests.rs
··· 962 962 963 963 // Test cases where we encounter \{{ 964 964 let test_cases = vec![ 965 - (r#"\{{"hello"}}"#, r#"\{{"hello"}}"#), 966 - (r#"Before \{{test}} after"#, r#"Before \{{test}} after"#), 965 + (r#"\{{"hello"}}"#, r#"{{"hello"}}"#), 966 + (r#"Before \{{test}} after"#, r#"Before {{test}} after"#), 967 967 ( 968 968 r#"\{{invalid}} and {{ simple /}}"#, 969 - r#"\{{invalid}} and SIMPLE_OUTPUT"#, 969 + r#"{{invalid}} and SIMPLE_OUTPUT"#, 970 970 ), 971 971 ]; 972 972