Problem/Motivation

The JSON in the 'Use a JSON object to configure the slider' becomes an ugly mess after saving.

Steps to reproduce

Type in a JSON objekt; click Update, click Save, reload, click the gear icon.

Proposed resolution

In the code, the JSON_PRETTY_PRINT is given to the wrong function. Fix that.

Remaining tasks

Review the PR.

User interface changes

None.

Command icon Show commands

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

gogowitsch created an issue. See original summary.

ipwa made their first commit to this issue’s fork.

  • ipwa committed b783b6d9 on 1.1.x authored by gogowitsch
    Issue #3535994: JSON_PRETTY_PRINT in field formatter broken
ipwa’s picture

Assigned: Unassigned » ipwa
Status: Needs review » Fixed

Thanks for catching this, great contribution!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.