Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double quotes in column comments break model object #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NEG40
Copy link

@NEG40 NEG40 commented May 14, 2020

Replacing ./index.js line 359 with the line below seems to fix this. (Updated to include newline fix as well)

var val = quoteWrapper + ((_.isString(self.tables[table][field][attr])) ? self.tables[table][field][attr].replace(/\r?\n/g, '\n').replace(/"/g, '\"') : self.tables[table][field][attr]) + quoteWrapper;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants