component lexeme now does not strip spaces, also not shown with spaces.
This commit is contained in:
parent
ee94ab8383
commit
42aef17473
|
@ -223,10 +223,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.comp-text {
|
||||
margin-left: 0.5ch; // half width of '0'
|
||||
}
|
||||
|
||||
.comp-role {
|
||||
color: @darkpink;
|
||||
}
|
||||
|
|
|
@ -17,8 +17,6 @@ class ComponentLexeme(Data):
|
|||
for oth_attr in ["lexical_unit_lexeme_id", "slolex", "kol"]:
|
||||
if xml.hasAttribute(oth_attr):
|
||||
self.other_attributes[oth_attr] = xml.getAttribute(oth_attr)
|
||||
|
||||
self.text = self.text.strip()
|
||||
|
||||
def isValid(self):
|
||||
return len(self.text) > 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user