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 {
|
.comp-role {
|
||||||
color: @darkpink;
|
color: @darkpink;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,8 +18,6 @@ class ComponentLexeme(Data):
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user