projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tweak markup, add chesspiece glyphs.
[naja.git]
/
naja
/
widgets
/
text.py
diff --git
a/naja/widgets/text.py
b/naja/widgets/text.py
index 3b0827d3f997fc4ff37be515439da7b0fd867520..d8d2d47e51726c7ac58b3ed77cf7d3b6f5a582d8 100644
(file)
--- a/
naja/widgets/text.py
+++ b/
naja/widgets/text.py
@@
-97,8
+97,6
@@
class TextBoxWidget(TextWidget):
subwords = word[1:-1].split(',')
if all(subword in MARKUP_MAP for subword in subwords):
return Glyph(word + suffix, subwords, suffix)
- elif word in MARKUP_MAP:
- return Glyph(word + suffix, [word], suffix)
return None