Repository navigation
feature request: gate ->css on "style" key - #16
Merged
Merged
Conversation
Owner
|
I think that would be reasonable |
Contributor
Author
|
This fix is ready |
Owner
|
Considering that React/Reagent only treat So: While you're at it, the (pr-str (->css v)) branch has the same pre-existing issue ( A test with a quote in the record's toString would lock down the escaping behavior. |
Contributor
Author
|
See new changes |
Owner
|
Test failures though? |
Contributor
Author
|
Oh, whoa, I did not expect a clj vs cljs difference here! Taking a look. |
Contributor
Author
|
Found it. Funny cljs-only issue with escape-html, I think: Investigating. |
telekid
force-pushed
the
patch-1
branch
2 times, most recently
from
June 12, 2026 16:11
321a9d3 to
8d2222d
Compare
Contributor
Author
|
Okay, tests appear to pass now. |
Owner
|
Thanks! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In my application, I use records as values in form submissions. Currently, when I use those records with
borkdude.html, I have to wrap those records instr:I find myself forgetting to add those wrappers on occasion. I just checked Hiccup, it looks like its semantics match the current behavior, so maybe this isn't the right move: https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L57-L76
Another point of contention is whether we would want to wrap
vinescape-htmlfirst.LMK if this is of interest to you. If so, I can add a couple of tests.