Wraps Text nodes in class-less spans after emote replacement for compatibility.
Benefits
This change allows other extensions to parse chat messages more reliably by allowing the use of the span:not([class]) selector to find replaceable text, which Elixr also uses.
Note:
Please be aware that we may require changes if we
believe they are required to meet the vision and standards of Elixr.
Don't take suggestions for tweaks personally, we are all simply trying to make Elixr
the best that it can be :)
Description of the Change
Wraps
Text
nodes in class-lessspan
s after emote replacement for compatibility.Benefits
This change allows other extensions to parse chat messages more reliably by allowing the use of the
span:not([class])
selector to find replaceable text, which Elixr also uses.Possible Drawbacks
None.
Applicable Issues
No issues from MixrElixr, but this issue from Better Mixer discusses the issue: https://github.com/TheUnlocked/Better-Mixer/issues/55