Coder Social home page Coder Social logo

Comments (2)

berteh avatar berteh commented on August 15, 2024

Hello @mikeevans82.

Glad the script is useful to you.

I think the convention in csv is to escape quotes by doubling it. ever tried "" ?

If that does not work you could always use single quotes as text delimiters, instead of double ones,then double quotes in the text value should not be escaped. the internal python csv parser this script uses should work just fine with no other modification.

If all that does not work I could code something to either allow to use another (custom) text delimiter character, or maybe support html entities (like "), or activate different quoting options supported by python... but I'd have to dig a bit further and won't be able to in the next days... so if you want to hack the code and submit a pull request feel free to do so (in function getCsvData in file ScribusGeneratorBackend.py) !

from scribusgenerator.

berteh avatar berteh commented on August 15, 2024

tested and fixed. you can now have a double quote in the final document by putting 2 double quotes in the data (""). please update your script code (re-download) for this to work.

from scribusgenerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.