Closed (fixed)
Project:
Flag
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2014 at 23:37 UTC
Updated:
16 May 2014 at 20:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhedstromAnd the patch.
Comment #2
joachim commentedLooks like the right thing to do.
I was thinking it would be nice to have tests for this, and I tried changing FlagLinkTypeConfirmTestCase to have some HTML in its flag link text, but I can't figure out how assertLink() is meant to work when the link text contains HTML. Neither including it in the parameter nor stripping it seems to work!!
Comment #3
joachim commentedFigured it out -- well a workaround at least.
Here's two patches: one is just the changes to tests, and should fail. The other adds in the changes from patch #1.
Comment #5
joachim commentedPerfect.
Committing.
Thanks for reporting & fixing!