A link that is styled as a button nested within rich text doesn't have proper styling. I would expect this to have regular "button" styling.
<div class="text-content">
<a href="#" class="button button--primary">My link button</a>
</div>

Testing instructions
1. Create an article and set the input format to "Full HTML" or something that doesn't strip HTML
2. Switch to HTML input and copy and paste the following markup
<a href="" class="button button--primary">button</a>
<a href="" class="button">button</a>
<a href="" class="button button--icon-back">button</a>
3. Make sure the buttons are legible and look correct.
Comments
Comment #2
catchBumping priority on this because even after #3279640: Standard install profile uses Olivero for update.php an Olivero-only site will run into this on update.php, making it potentially blocking.
Comment #3
mherchelPatch for 9.4.x
Comment #4
mherchel10.0.x patch attached. Note in this patch, I use the
:where()selector to remove unnecessary specificity from the selector.Comment #5
mherchelAdding testing instructions
Comment #7
mherchelUpdated patch for D10.
Comment #8
andy-blum9.4.x patch applies to 9.5.x as well, screenshots below.
Comment #9
alexpottCommitted afd7bc2 and pushed to 10.0.x. Thanks!
Committed and pushed 9c6d3d2d17 to 9.5.x and e057e13319 to 9.4.x. Thanks!