diff --git a/src/gen/lib/styledtext.py b/src/gen/lib/styledtext.py index ea922687f..35a42d956 100644 --- a/src/gen/lib/styledtext.py +++ b/src/gen/lib/styledtext.py @@ -287,6 +287,7 @@ class StyledText(object): stt = StyledTextTag() stt.unserialize(tag) self._tags.append(stt) + return self def get_tags(self): """Return the list of formatting tags. @@ -315,4 +316,4 @@ if __name__ == '__main__': C = C.replace('X', StyledText('_')) A = A + B - print A \ No newline at end of file + print A