Chris Wong
Chris Wong
Hi @JohnDowson, thanks for the suggestion and PR! My primary concern with this (and the reason why numbers weren't permitted originally) is that in Rust proper, `0000069` and `69` are...
Hi @Riateche, sorry for the delay 😄 Does this work? ```rust input type="radio" name="f" value="a" checked[value == 'a']; ``` i.e. remove the `=` from `checked`. -------- On that note: I...
- [x] unexpected end of input - #262 - [ ] `@let` only works inside a block - [ ] unknown keyword `@{}` - [ ] expected keyword after `@`...
I'll be keen for a corresponding `xml!` macro. AFAIK the only difference is that empty elements end with `/>` instead of just `>`. Not sure how we'd prevent mixing HTML...
Marking as "hard", since there are some unanswered design questions (though I believe the actual coding will be easy once it's figured out).
I think the namespace problem is solvable (probably with an [HList](https://github.com/lloydmeta/frunk/blob/master/README.md#hlist) that keeps track of what namespaces are in scope). I'm actually wondering more about use cases. If the use...
Great to hear that you like it :) Note that the `Render` trait has a [`.render_to()`](https://lambda.xyz/maud/maud/trait.Render.html#method.render_to) method, which appends to an existing buffer. The code generator uses this method by...
I wonder if we could use trait overloading to pick between the two approaches based on context. Something like this: ```rust trait FromTemplate { fn from_template(template: F) -> Self; }...
Yep, I think you have a good point there. I'd be okay with adding a `html_to!(buffer, ...)` macro, once the dust settles on #92. (I prefer this name because it's...
Okay -- since #92 has landed now, I'll be happy to take a PR to implement an `html_to!` macro as described above. The relevant code is in [`maud_macros/src/lib.rs`](https://github.com/lfairy/maud/blob/594af152424e8b4208ceb7aaf4cf14b4c470819a/maud_macros/src/lib.rs).