Closed (fixed)
Project:
Custom Formatters
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2011 at 04:05 UTC
Updated:
26 Sep 2011 at 02:11 UTC
Outputting a url - in chrome the string mysteriously acquires the phrase Edit formatter%0A at the end.
For example -
mobile_codes/c88ccc5d1ae1eda2b9b82f027bbd11d5.png
mobile_codes/c88ccc5d1ae1eda2b9b82f027bbd11d5.pngEdit formatter%0A
This does not happen in IE or FF and i can't seem to do anything to stop it happening. Code being used below.
/**
* Render Node URL as the path to a Mobile Code.
*/
$node = $variables['#object'];
$url = url("node/{$node->nid}", array('absolute' => TRUE, 'alias' => TRUE));
$request = mobile_codes_process_url($url, array('#preset' => $preset));
return mobile_codes_generate($request);
// */
Comments
Comment #1
decipheredIt's the 'Contextual links' functionality, to disable it goto 'admin/structure/formatters/settings'.
Comment #2
Buckminster_Bond commentedGreat - thank you.