loc-create: ignore spaces in descriptions that come from code indentation
michbarsinai opened this issue · comments
Michael commented
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.
Michael commented
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
Michael commented
TagSpaceParseResult:138