-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
When valid attribute is present, render a valid JSON that can be copied
- remove constructor names from DOM tree and put them in
:afterelements so it doesn't copy - remove functions and values that are not valid in JSON.
undefined,NaN,Infinity, (will benull) - add
{,},[,],,where it's necessary to make JSON valid - write test that test produced HTML has valid JSON in it's
innerText
Reactions are currently unavailable