-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
html!
macro support hyphens in attributes
This commit makes it possible to use hyphenated attribute names when creating elements using the `html!` macro. For example, the following is now possible: ```rust html! { <svg xmlns="http://www.w3.org/2000/svg" stroke-width="1.5" // ... > // ... </svg> } ``` Before this commit trying to add a "stroke-width" attribute would have led to a compile time error.
- Loading branch information
Showing
8 changed files
with
187 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.