Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Sep 2015 at 09:28 UTC
Updated:
29 Sep 2015 at 00:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #3
dawehnerWorks for me.
Comment #4
xjmHmm, I'm still not sure about this one. I think the intent of the test is to ensure the
'<test>'title is singly escaped but not double-escaped. assertFieldByXpath() makes no claims one way or the other about the escaping expectations, and I'm actually surprised these assertions pass.Maybe we could help clarify this and make the test more robust by adding an additional pair of assertions: One asserting that there is no raw
'<test'>and another asserting that there is no double escaping therof?Comment #5
xjmYeah, the more I think about it, the more I think we should add that.
Comment #6
alexpott@xjm good point - this is exactly why #2560641: Remove all usages SafeMarkup::checkPlain() from render arrays made changes to
assertTitle.Comment #7
dawehnerNice idea!
Comment #9
xjmGo team! Committed and pushed to 8.0.x.