-
Notifications
You must be signed in to change notification settings - Fork 71
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
Multiline string values must not be indented #31
Conversation
Fixed version can be installed now (does not pretty print the plist): |
Please provide a test for the indention bug. |
…ol and string hash keys.
…ent was read from plist.
rake/gempackagetask is deprecated
Hi, I'd like to understand this PR better because this seems like a legitimate bug to me. If you are still interested in contributing, could you rebase on the latest |
This issue is also addressed in a previous ticket: #14 In it, @cristianbica provides a useful workaround of applying @mattbrictson : you mention in ticket #14 that the indentation behavior is a bug, but I do not see at attached PR to fix it. Do you know if anything became of this? |
@tboyko sorry, I don't know what became of this bug. To be honest I have not been tracking this repo since I last commented back in 2017. Reviewing #14, it very clearly is a bug in my opinion because if you save a plist containing Again, I am not super familiar with this repo these days but I would think that it should be possible to add a failing test for this scenario and the implement a fix, maybe based on what @bkoell originally proposed here. I'm not aware of any other attempts to fix it. Do you want to give it a shot? |
Please see #54 |
@mattbrictson Would you be willing to review and accept #54 ? |
Closed in favor of #54 |
Hey everyone,
multiline plist values get modified even when you don't do any changes. Multiline strings are expected to be not indented or the indentation will be part of the string that is read later on. You can easily see this behaviour creating Plists with Xcode for example.
I ran into this especially because we are using multiline markdown values which then render incorrectly because of indentation changes.
Would very much appreciate if this could make its way into the gem. Don't want to deploy a custom one all the time.
Thanks from Berlin!