Closed diasbruno closed 1 year ago
I can't seem to reproduce this. Can you give more context?
For reference, what I see is:
(with-html (:img :attrs (list :alt text :src link)))
=> <img alt="my text" src=link>
:thinking: Is there some kind of list that controls which attributes to add the ""
?
I'm looking for a way to wrap all attributes with ""
.
(with-html (:img :attrs (list :alt text :src link)))
=> <img alt="my text" src="https://mimimi...">
It seems that need-quotes?
controls this.
https://github.com/ruricolist/spinneret/blob/master/syntax.lisp#L31
So to be clear, you want a configuration option that forces all attributes to be quoted? That would be easy to add.
Yep. *always-quote*
would be ok? I think I can make a PR for it.
Sure, go ahead.
On Sun, Apr 23, 2023, 10:41 AM Bruno Dias @.***> wrote:
Yep. always-quote would be ok? I think I can make a PR for it.
— Reply to this email directly, view it on GitHub https://github.com/ruricolist/spinneret/issues/78#issuecomment-1519095668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC7AKA6ACWV2MLPBV452LLXCVESDANCNFSM6AAAAAAXIRMKP4 . You are receiving this because you commented.Message ID: @.***>
Is there an option for this?
Using
produces