 src/Controller/EntityResource.php                             | 3 +++
 src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/Controller/EntityResource.php b/src/Controller/EntityResource.php
index 3ab534b..8b9cb1b 100644
--- a/src/Controller/EntityResource.php
+++ b/src/Controller/EntityResource.php
@@ -146,6 +146,8 @@ class EntityResource {
    *
    * @throws \Drupal\jsonapi\Exception\EntityAccessDeniedHttpException
    *   If validation errors are found.
+   *
+   * @see \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait::validate()
    */
   protected function validate(EntityInterface $entity) {
     if (!$entity instanceof FieldableEntityInterface) {
@@ -163,6 +165,7 @@ class EntityResource {
       // 422 Unprocessable Entity code from RFC 4918. That way clients can
       // distinguish between general syntax errors in bad serializations (code
       // 400) and semantic errors in well-formed requests (code 422).
+      // @see \Drupal\jsonapi\Normalizer\UnprocessableHttpEntityExceptionNormalizer
       $exception = new UnprocessableHttpEntityException();
       $exception->setViolations($violations);
       throw $exception;
diff --git a/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php b/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php
index 2326d81..527dd63 100644
--- a/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php
+++ b/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php
@@ -2,6 +2,7 @@
 
 namespace Drupal\jsonapi\Normalizer;
 
+use Drupal\Component\Render\PlainTextOutput;
 use Drupal\Core\Session\AccountProxyInterface;
 use Drupal\jsonapi\Exception\UnprocessableHttpEntityException;
 use Symfony\Component\HttpKernel\Exception\HttpException;
@@ -64,7 +65,7 @@ class UnprocessableHttpEntityExceptionNormalizer extends HttpExceptionNormalizer
       foreach ($field_violations as $violation) {
         /** @var \Symfony\Component\Validator\ConstraintViolation $violation */
         $error['detail'] = $violation->getPropertyPath() . ': '
-          . $violation->getMessage();
+          . PlainTextOutput::renderFromHtml($violation->getMessage());
 
         $pointer = '/data/attributes/'
           . str_replace('.', '/', $violation->getPropertyPath());
