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

loc-create: ignore spaces in descriptions that come from code indentation #226

Open
michbarsinai opened this issue May 27, 2019 · 2 comments
Labels
Good First Issue If you look for somewhere to start, this maybe it.

Comments

@michbarsinai
Copy link
Member

Currently, if the code of the policy space is indented, the whitespace used for indentation is added to the space item's description in the created localization. Instead, the description should become the short version (2nd line in the localization), and the extra spaces need to be removed.

@michbarsinai michbarsinai added the Good First Issue If you look for somewhere to start, this maybe it. label May 27, 2019
@michbarsinai
Copy link
Member Author

Explanation:
the definition

Gender[ This is the legal
        gender of the
        sick person
]: one of male, female.

Yields this result:

Gender
 This is the legal
        gender of the 
        sick person

correct result:

Gender
This is the legal gender of the sick person

@michbarsinai
Copy link
Member Author

michbarsinai commented Oct 29, 2019

TagSpaceParseResult:138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue If you look for somewhere to start, this maybe it.
Projects
None yet
Development

No branches or pull requests

1 participant