Partially revert for class shorthand ()

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:
Chris Wong 2021-11-06 21:51:34 +11:00 committed by GitHub
parent 49755007da
commit 45157fc58c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 23 deletions
maud/tests

View file

@ -197,7 +197,7 @@ fn class_shorthand() {
}
#[test]
fn class_shorthand_without_space() {
fn class_shorthand_with_space() {
let result = html! { p { "Hi, " span .name { "Lyra" } "!" } };
assert_eq!(
result.into_string(),