AI translation is not saving html values correctly

Created on 26 September 2024, 3 months ago

Problem/Motivation

When translated, my html is not decoded, which ends up in a non-decoded wysiwig value for body text. See before_patch.png.

Steps to reproduce

I installed AI search module on a fresh Drupal 10.3 and added OpenAI provider. Then I used the default settings for the AI translate. I added dutch as a language and translated my first article with the AI Translation module.

Proposed resolution

Decode the values (see patch).

🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇧🇪Belgium stefvanlooveren

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024