Closed (duplicate)
Project:
Drupal core
Version:
8.4.x-dev
Component:
content_translation.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2016 at 09:26 UTC
Updated:
6 Sep 2017 at 09:40 UTC
Jump to comment: Most recent
Comments
Comment #2
jonathan1055 commentedHi J-Lee,
I have replicated this, and I don't think it is anything to do with the Scheduler code. The text class 'translation-entity-all-languages' is added in content translation module
/content_translation/src/ContentTranslationHandler.php. I think this would be done for any other modules which create node field (but I have not checked this).I have moved this to the Content Translation issue queue, as that is where it might be fixed.
Jonathan
Comment #3
jonathan1055 commentedAargh! That 'Content Translation' module project is not the core one. The issue queue does not exist - so moving it again.
Comment #4
jonathan1055 commentedThis is useless! The project auto-complete gives sandbox projects - no way to find the real Core Translation queue. I am just going to have to put it into Core Development, then it can be moved from there into the appropriate place.
Comment #5
j-leeMoving issue to core queue, updating summary.
Comment #6
j-leeUpdating Version.
Comment #7
idebr commentedThis instance should be fixed by the general solution added in #2652850: Title for details form elements is not set as '#markup' and it will be escaped, but all other form elements use '#markup' and are not escaped.
Comment #8
jonathan1055 commentedThanks idebr, I had not seen #2652850: Title for details form elements is not set as '#markup' and it will be escaped, but all other form elements use '#markup' and are not escaped
Yes, I confirm that this does solve the problem. I have just repeated the Steps to Reproduce, seen the error, then applied the patch from #30 of that issue. The html span tags are no longer shown.
I will leave this issue open for a while, but ultimately it can be closed as a duplicate.
Jonathan
Comment #9
j-lee@idebr and @ jonathan1055 Thank you for the hint and for testing.
I close this in favor for issue #2652850: Title for details form elements is not set as '#markup' and it will be escaped, but all other form elements use '#markup' and are not escaped
Comment #10
jonathan1055 commentedOK. Thanks.