On reflection, the extra spaces around classes feels weird to me. Let's revert that (but keep the 2021 edition migration in place).
This commit is contained in:
parent
49755007da
commit
45157fc58c
4 changed files with 23 additions and 23 deletions
maud/tests
|
@ -197,7 +197,7 @@ fn class_shorthand() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn class_shorthand_without_space() {
|
fn class_shorthand_with_space() {
|
||||||
let result = html! { p { "Hi, " span .name { "Lyra" } "!" } };
|
let result = html! { p { "Hi, " span .name { "Lyra" } "!" } };
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
result.into_string(),
|
result.into_string(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue