Mercurial > moin > 1.9
diff MoinMoin/formatter/text_html.py @ 1186:3172214eac96
Fixed some bugs, whitespaces at EOL, better i18n for SystemInfo
author | Franz Pletz <fpletz AT franz-pletz DOT org> |
---|---|
date | Tue, 18 Jul 2006 15:36:02 +0200 |
parents | 902c34d95085 |
children | 277b97ba0700 |
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py Mon Jul 17 13:22:40 2006 +0200 +++ b/MoinMoin/formatter/text_html.py Tue Jul 18 15:36:02 2006 +0200 @@ -388,7 +388,7 @@ if newline: result.append(self._newline()) result.append('</%s>' % (tag)) - tagstr = ''.join(result) + tagstr = ''.join(result) else: # Inline elements # Pull from stack, ignore order, that is not our problem. @@ -455,7 +455,7 @@ result = [] result.append(self.anchordef(aid)) result.append(self._close('div', newline=newline)) - return ''.join(result) + return ''.join(result) def lang(self, on, lang_name): """ Insert text with specific lang and direction. @@ -826,7 +826,7 @@ """ tag = 'tt' # Maybe we don't need this, because we have tt will be in inlineStack. - self._in_code = on + self._in_code = on if on: return self._open(tag, allowed_attrs=[], **kw) return self._close(tag) @@ -1303,7 +1303,7 @@ result.append(self._close('table')) result.append(self._close('div')) - return ''.join(result) + return ''.join(result) def table_row(self, on, attrs=None, **kw): tag = 'tr'