IQSS / DataTaggingLibrary

Language tools for DataTags (Decision graph variant). Including the embeddable runtime engine

Home Page:http://datatags.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

michbarsinai opened this issue · comments

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.

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

TagSpaceParseResult:138