Problem/Motivation
(Preliminary report)
The change here applied on 4.4.x causes messages to be double escaped (e.g.: double quotes are converted to ")
Steps to reproduce
An action that contains e.g.
return [
'type' => 'warning',
'message' => $this->t('Warning message with "quotes"')
];
will display as Warning message with "quotes"
Proposed resolution
TODO
Remaining tasks
TODO
User interface changes
TODO
API changes
TODO
Data model changes
TODO
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 3555472-11.diff | 7.07 KB | herved |
Issue fork views_bulk_operations-3555472
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
herved commentedComment #6
travis-bradbury commentedLooks good to me.
Comment #7
herved commentedphpunit is failing
Comment #9
herved commentedI created another branch and MR (134) but did not test extensively (mainly the drush part).
Comment #10
herved commentedComment #11
herved commentedMR134 snapshot
Comment #13
joelpittetThank you all, that fix looks great, I have committed it to the dev branch.
I have my hands dirty in the root of this as I drove auto-escaping in D8 to start with. I am hoping the endless undouble-escaping experience I got from that hasn't degraded over time, and hope time also hasn't changed if that was a good idea..., 😅