maud/maud_macros
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
..
src Disallow slashes (/) in void elements () 2021-11-07 23:17:15 +11:00
Cargo.toml Delete maud_htmlescape package () 2021-11-06 11:33:44 +00:00