maud/docs/content
Chris Wong dc6c88fae3
Disallow slashes (/) in void elements ()
# Overview

The following syntax will no longer work:

```rust
html! {
    br /
    link rel="stylesheet" href="styles.css" /
}
```

This should be changed to the following:

```rust
html! {
    br;
    link rel="stylesheet" href="styles.css";
}
```

# Rationale

The `;` syntax was introduced in ; the rationale for it can be found there.

Removing support for the older `/` syntax will simplify the API surface, and allow for the space to be used for other things.
2021-11-07 23:17:15 +11:00
..
control-structures.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
elements-attributes.md Disallow slashes (/) in void elements () 2021-11-07 23:17:15 +11:00
faq.md Rewrite docs () 2020-11-02 12:53:27 +13:00
getting-started.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
index.md Remove "blazing" () 2021-09-24 10:01:55 +00:00
partials.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
render-trait.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
splices-toggles.md Partially revert for class shorthand () 2021-11-06 21:51:34 +11:00
text-escaping.md Switch documentation to semantic line breaks () 2021-01-22 19:31:51 +13:00
web-frameworks.md Remove Iron support () 2021-11-06 11:44:10 +00:00