Needs work
Project:
Drupal core
Version:
main
Component:
rest.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2026 at 10:32 UTC
Updated:
8 Jun 2026 at 12:36 UTC
Jump to comment: Most recent
In #3549810: Views REST Export: HTML entities "&" in the fields are encoded e.g. as "&" in JSON response, which is inconsistent and unexpected the views preview output of the JSON tricked me - it shows the result encoded, which is != the real views output that doesn't have special characters encoded (which is correct for JSON).
&Ensure the views preview result equals the real result of the view
Bonus: Beautify / format JSON output
Discuss
Implement
Test
Release
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyComment #5
mukeshaddweb commentedhttps://git.drupalcode.org/project/drupal/-/merge_requests/16014
Comment #6
anybodyThis very much looks AI generated? Tests are failing.