(self, other)
| 74 | return Text(post, lang=self.lang, escaped=self.escaped) |
| 75 | |
| 76 | def __add__(self, other): |
| 77 | joined = u''.join((self, other)) |
| 78 | result = Text(joined, lang=self.lang, escaped=self.escaped) |
| 79 | if isinstance(other, Text): |
| 80 | result.escaped = self.escaped or other.escaped |
| 81 | return result |
| 82 | |
| 83 | def __repr__(self): |
| 84 | s = [self] |