Problem/Motivation

There is auto-escaping issues while editing node translation (#2394951: Page title escaped with HTML markup when editing content translation). I saw that the <em> tags are embedded inside t() in NodeTranslationHandler.php. We should use placeholder formatters rather than hardcoding HTML tags.

Proposed resolution

Use placeholder string formatters for t() rather than hardcoding <em> tags.

Remaining tasks

N/A

User interface changes

N/A

API changes

entityFormTitle() in NodeTranslationHandler.php will return safe markup emphasized title.

Comments

subhojit777’s picture

Assigned: Unassigned » subhojit777
jhodgdon’s picture

Status: Active » Closed (duplicate)

This should just be fixed on the parent issue. It is, in fact, one of the main causes of the parent issue and does not need to be a separate issue.