View modes support for inline diff

Created on 24 March 2013, over 11 years ago
Updated 16 December 2024, 5 days ago

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.

💬 Support request
Status

Closed: outdated

Version

3.2

Component

Miscellaneous

Created by

🇬🇧United Kingdom El Bandito

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024