Problem/Motivation

Html entities don't get decoded after translation which will create issues in plane text fields.

Steps to reproduce

  • On a site with English and French installed create an english node with the title "The Drupal Association".
  • Use Atomatic Translation to create the french version

The title of the new node will be "L'association Drupal"

Proposed resolution

Use Drupal\Component\Utility\Html::decodeEntities() on the returned translation.

Comments

kallado created an issue. See original summary.

kallado’s picture

Title: Html should be decoded after translatio » Html entities should be decoded after translation
kallado’s picture

Issue summary: View changes

  • kallado committed 6bab7e40 on 1.0.x
    Issue #3508218 by kallado: Html entities should be decoded after...
kallado’s picture

Status: Active » Fixed
kallado’s picture

fixed in 3.0.1

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.