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

deciphered’s picture

Status: Active » Fixed

It's the 'Contextual links' functionality, to disable it goto 'admin/structure/formatters/settings'.

Buckminster_Bond’s picture

Great - thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.