fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added styles of tags: "mat", "didask_tekst", "slowo_obce", "tytul_dziela", "wyroznien...
[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)
+ def __len__(self):
+ return len(self.raw)
+