Open cpsievert opened 1 year ago
For example
> div(id = "foo", class = "bar", class = "baz") <div class="bar baz" id="foo"></div>
> tagAppendAttributes(div(id = "foo", class = "bar"), class = "baz") <div class="bar baz" id="foo"></div>
This is a result of
https://github.com/rstudio/htmltools/blob/c237804eebcd1ead835cd62bcf1f26267fb03574/R/tags.R#L1362
(and maybe we just remove the sort()?)
sort()
FWIW, this behavior appears to go back to at least v0.4.0
Looks like the sorting was added in #282.
For example
This is a result of
https://github.com/rstudio/htmltools/blob/c237804eebcd1ead835cd62bcf1f26267fb03574/R/tags.R#L1362
(and maybe we just remove the
sort()
?)