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

El Bandito’s picture

Issue summary: View changes

@me Wrong function dummy !

heddn’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Given 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.