- Issue created by @justcaldwell
- πΊπΈUnited States justcaldwell Austin, Texas
Drupal.t()
will pass strings through \Drupal\Component\Utility\Html::escape(). Not sure if there's an easy way to allow HTML in javascript like this. - π©πͺGermany berliner
Run into this too and I don't think that we can pass HTML markup in
Drupal.t()
.I have created a patch that changes the way these default strings are handled and how translation can happen now. Not sure this covers all use cases, but I'll attach it here for review.