component lexeme now does not strip spaces, also not shown with spaces.

This commit is contained in:
Ozbolt Menegatti 2020-05-19 18:54:52 +02:00
parent ee94ab8383
commit 42aef17473
2 changed files with 0 additions and 6 deletions

View File

@ -223,10 +223,6 @@
} }
} }
.comp-text {
margin-left: 0.5ch; // half width of '0'
}
.comp-role { .comp-role {
color: @darkpink; color: @darkpink;
} }

View File

@ -17,8 +17,6 @@ class ComponentLexeme(Data):
for oth_attr in ["lexical_unit_lexeme_id", "slolex", "kol"]: for oth_attr in ["lexical_unit_lexeme_id", "slolex", "kol"]:
if xml.hasAttribute(oth_attr): if xml.hasAttribute(oth_attr):
self.other_attributes[oth_attr] = xml.getAttribute(oth_attr) self.other_attributes[oth_attr] = xml.getAttribute(oth_attr)
self.text = self.text.strip()
def isValid(self): def isValid(self):
return len(self.text) > 0 return len(self.text) > 0