Skip to content

Quotes don't get stripped for multiline statements #8

New issue

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

By clicking “No 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? No Sign in to your account

Open
jannisbaudisch opened this issue Jan 19, 2022 · 0 comments · May be fixed by #14
Open

Quotes don't get stripped for multiline statements #8

jannisbaudisch opened this issue Jan 19, 2022 · 0 comments · May be fixed by #14

Comments

@jannisbaudisch
Copy link

The default configuration has the following line

 ABBREVIATE_BRIEF       = "The $name class" \
                          "The $name widget" \
                          "The $name file" \
                          is \
                          provides \
                          specifies \
                          contains \
                          represents \
                          a \
                          an \
                          the

When loading and storing this again the following is written

ABBREVIATE_BRIEF = ""The $name class" " \
        ""The $name widget"" \
        ""The $name file"" \
        is \
        provides \
        specifies \
        contains \
        represents \
        a \
        an \
        the

Seems like the store_configuration method works as expected and adds quotes. The load_configuration on the other hand does not strip the quotes (as seen in the returned dictionary: 'ABBREVIATE_BRIEF': ['"The $name class" ', '"The $name widget"', '"The $name file"', 'is', 'provides', 'specifies', 'contains', 'represents', 'a', 'an', 'the']

@vwheeler63 vwheeler63 linked a pull request Mar 2, 2025 that will close this issue
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant