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

Script is replacing > symbol and escaping double quotes #5

Open
bmcclure opened this issue Feb 11, 2023 · 2 comments
Open

Script is replacing > symbol and escaping double quotes #5

bmcclure opened this issue Feb 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bmcclure
Copy link

bmcclure commented Feb 11, 2023

I ran this to update all of my existing blueprints, and while most of them worked, several of them were broken due to two main issues:

  1. On multiline strings that start with >, the > character is replaced with >
  2. On values that contain double quotes, they are all escaped with a backslash which sometimes changes their meaning or makes values that should be quoted act as if they aren't quoted.

Is there a reason it does this, or is this unintended behavior?

If this matters, I did call the script to update all blueprints from the automation provided in the docs, rather than by manually using the command line.

@bmcclure bmcclure changed the title Script is replacing > and double quotes Script is replacing > symbol and escaping double quotes Feb 11, 2023
@koter84
Copy link
Owner

koter84 commented Feb 13, 2023

it should not do that, i think it has to do with where the blueprints are downloaded from..

could you post the source_url for one or more blueprints that do this, then i can look what happens with those.

@koter84 koter84 added the bug Something isn't working label Feb 13, 2023
@schumi2004
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants