- Issue created by @duaelfr
- @duaelfr opened merge request.
- Status changed to Needs review
over 2 years ago 3:38pm 21 February 2023
When your paragraph label contains a quote, it ends up being escaped in the add in between buttons.
Fix Drupal.theme.paragraphsFeaturesAddInBetweenButton to use button.innerHTML instead of button.innerText so html entities escaped by Drupal.t() are displayed properly.
The output of Drupal.t() is considered safe so it should not cause security issues.
No more ' instead of quotes !
Needs review
2.0
Code