I added a class in the HTML allowlist so I circumvented the issue.
However, being able to have a button excluded attributes could allow more flexibility to prevent linkify words, using the build-in data-(anything)
HTML attribute since it’s allowed by default in Discourse.
Example:
<span data-nolinkify> text </span>
→ text
Would a push request be accepted if I manage to add this to the theme component?