use rdxl::{xhtml,xtype,xrender}; fn bs(s: String) -> String { s.split_whitespace().collect::>().join(" ") } xtype!(); xrender!(MyDisplayList, ); #[test] fn display1() { assert_eq!( bs(xhtml!( {{ format!("a:{}",2) }} {{ format!("b:{}",4) }} )), "" ); } #[test] fn display2() { assert_eq!( bs(xhtml!(

nested

)), "" ); }