You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a very simple HTML document (minimal CSS styling) with a PRE-tag that contains some JSON. When JSON Formatter runs, it prettifies the JSON (which is useful... maybe... I guess? But definitely not expected), but unfortunately it moves the prettified content to the end of the document, which negates whatever value there might be in prettifying it.
Actual behavior
With JSON Formatter enabled:
Expected behavior
This is what the document is supposed to look like:
At a minimum, JSON Formatter should inject it's prettified-DOM version of the JSON into the DOM at the same location as the PRE tag it's replacing.
That said, I would really like to have way to disable this feature as an extension setting.
There should also be a way of disabling this setting at the DOM-element level. E.g. by setting a data-noformat attribute or something like that.
Here's the document markup in it's entirety, if that helps:
I have a very simple HTML document (minimal CSS styling) with a PRE-tag that contains some JSON. When JSON Formatter runs, it prettifies the JSON (which is useful... maybe... I guess? But definitely not expected), but unfortunately it moves the prettified content to the end of the document, which negates whatever value there might be in prettifying it.
Actual behavior
With JSON Formatter enabled:
Expected behavior
This is what the document is supposed to look like:
data-noformat
attribute or something like that.Here's the document markup in it's entirety, if that helps:
The text was updated successfully, but these errors were encountered: