Starting with a basic text formatter...
<p class="teaser">[formatted]</p>
converting to advanced produces...
$code = "<p class=\"teaser\">[formatted]</p>";
// Parse tokens.
return _custom_formatters_token_replace((object) array('code' => $code, 'field_types' => $element['#formatter']->field_types), $element);
which causes the following error when viewing a node using this formatter (via Node Displays).
warning: implode() [function.implode]: Argument to implode must be an array. in custom_formatters/custom_formatters.module on line 452.
Comments
Comment #1
decipheredFix committed to dev, stable out in the next few days.