Closed (fixed)
Project:
Views Reference Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2016 at 18:09 UTC
Updated:
13 Feb 2017 at 09:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
NewZeal commentedAre you referring to the title as follows?:
It's probably the @ which is cleaning out the ampersand. I'll change to ! in the next release and we can see if that helps.
Comment #3
znak commentedPatch for your module
Comment #4
joekersThanks for your patch but it looks like the "!" placeholder has now been removed so we get the following error:
Invalid placeholder (!title) in string: !title in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 235 of core/lib/Drupal/Component/Render/FormattableMarkup.php).It seems like strings are sanitised in t() so we shouldn't need any placeholders here, try the attached patch.
Comment #5
NewZeal commentedCan people download the latest dev code, check this change is in the code, test and report back so we can go beta: https://www.drupal.org/node/2846411
Comment #6
joekersI've tested again and it's working for me - marking as fixed.