Problem/Motivation

The list of translatable/translated languages shows code.

Steps to reproduce

1. Create site
2. Go to /admin/modules
3. Check add Content Translation
4. Check Language
5. Click save
6. Go to /admin/config/regional/language
7. Add language Spanish
8. Save
9. Go to /admin/structure/types/manage/page
10. Check Show language selector on create and edit pages
11. Check Enable translation
12. Save
13. Go to /node/add/page
14. Enter page content
Title: test page 1
Body: This is a test of an English page
15. Save and publish
16. Click Translate tab
17. On Spanish row click Add
18. Enter page content
Title: pagina 1
Body: Esta es una página en español.
19. Save and publish
20. Go to /node/1/translations

Actual: Visibly displayed on rendered page: <span class="status">Published</span>
Expected:
Visibly displayed on rendered page: Published
Code contains: <span class="status">Published</span>

Proposed resolution

Remaining tasks

 

 

Contributor tasks needed
Task Novice task? Contributor instructions Complete?
Create a patch Instructions
Embed before and after screenshots in the issue summary Novice Instructions
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards Instructions

User interface changes

API changes

Original report by @Charles Belov

Comments

charles belov’s picture

Issue tags: +D8MI
alimac’s picture

Issue summary: View changes
Issue tags: +Needs screenshots, +Novice
mitsuroseba’s picture

Assigned: Unassigned » mitsuroseba
alimac’s picture

Status: Active » Needs work

I'm pretty sure this is related to #2297711: Fix HTML escaping due to Twig autoescape.

garphy’s picture

garphy’s picture

Status: Needs work » Closed (duplicate)