Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
responsive_image.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Oct 2013 at 21:18 UTC
Updated:
29 Jul 2014 at 23:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
internetdevels commentedHere is the patch.
Comment #3
internetdevels commentedComment #4
dawehnerI can't see a reason why you want to check_plain here, given that it wasn't applied earlier.
Comment #5
vijaycs85@InternetDevels, we should use String::checkPlain(), if 2nd parameter of drupal_set_tiltle() is empty (or CHECK_PLAIN). That's how it works in D7.
Comment #6
ACF commentedReroll using check_plain.
Comment #7
dawehnerYou could also directly use $this->t() instead of t().
Comment #8
vijaycs85Here is the updated title and patch that covers it.
Comment #9
dawehnerPerfect!
Comment #10
wim leersFix title.
Comment #11
catchCommitted/pushed to 8.x, thanks!
Comment #13
eli-t