fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added fragment styles.
[wolnelektury.git]
/
lib
/
markupstring.py
diff --git
a/lib/markupstring.py
b/lib/markupstring.py
index
f31e148
..
d3ee955
100644
(file)
--- a/
lib/markupstring.py
+++ b/
lib/markupstring.py
@@
-92,3
+92,6
@@
class MarkupString (unicode):
for et in ends[e]: outbuf+= et
return MarkupString(outbuf)
for et in ends[e]: outbuf+= et
return MarkupString(outbuf)
+ def __len__(self):
+ return len(self.raw)
+