I am finding that my inline diffs are always presented in the 'full' view mode, despite recent changes to the Diff module to accommodate view modes. I am not sure whether this is an omission or by design ?
The culprit seems to be the use of :
node_build_content($new_node);
$new = drupal_render($new_node->content);in the diff_inline_show() function. Without a further parameter node_build_content() always defaults to using the 'full' view mode.
Thanks for any clarification.
Comments
Comment #0.0
El Bandito commented@me Wrong function dummy !
Comment #1
heddnGiven the proximity of EOL for Drupal 7, marking this as won't fix. The likely final Drupal 7 release of diff has landed in https://www.drupal.org/project/diff/releases/7.x-3.5. If this is something still applicable to a more modern version of the module, feel free to re-open and post additional notes.