[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
Proposed changes
Issue #66 describes that a single-quote character in the description or the table name breaks the table so it is no longer rendered.
The JSON.stringify() call in function HTML has been changed so that
all single-quote characters (') are replaced by & apos ;
the info property is not copied to the stringified JSON.
A sample flow has been added to the example folder that tests the behaviour of the table with single and double quotes in table name, column name and description.
Proposed changes
Issue #66 describes that a single-quote character in the description or the table name breaks the table so it is no longer rendered.
The JSON.stringify() call in function HTML has been changed so that
info
property is not copied to the stringified JSON.A sample flow has been added to the example folder that tests the behaviour of the table with single and double quotes in table name, column name and description.
Checklist
grunt
to verify the unit tests pass