WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Mass Import
[resolved] Single quotes get \ before them (4 posts)

  1. Sdarter
    Member
    Posted 6 months ago #

    Some of the text fields in my data contain things like "Ted's Shop" in the field. After import I have "Ted\'s Shop" with the slash. How can I prevent this? I'm saving as a CSV through Google Docs spreadsheet.

    Thanks!

    http://wordpress.org/plugins/gravity-forms-mass-import/

  2. dunar21
    Member
    Plugin Author

    Posted 6 months ago #

    Take a look at your CSV file. The escaping may be occurring in the conversion to the csv. I don't believe I added any escaping in my code anywhere. It's been a while since I built this plugin so not really sure, I just doubt it. Another thing you could do is to do a search and replace for ' and replace them all with ' and in case that parses out it is ( & + # + 3 + 9 + ; ) Remove so #39; with an & in front of it.

  3. dunar21
    Member
    Plugin Author

    Posted 6 months ago #

    Yeah, it parsed out. It is the ASCII code for the apostrophe.
    http://www.natural-innovations.com/wa/doc-charset.html
    so & #39; (without the space) will parse out as an apostrophe.

  4. Sdarter
    Member
    Posted 6 months ago #

    Awesome! Thanks for the plugin and the help!

Reply

You must log in to post.

About this Plugin

About this Topic