Commits

Anonymous committed e13b08d

really fix the space between multiple lines, add a test for it

Comments (0)

Files changed (2)

     _head_text_repl = _head_repl
 
     def _text_repl(self, groups):
-        text = groups.get('text', '')+u' '
+        text = groups.get('text', '')
         if self.cur.kind in ('table', 'table_row', 'bullet_list',
             'number_list'):
             self.cur = self._upto(self.cur,
 >>> parse(u'test\ntest')
 <p>test test</p>
 
+>>> HtmlEmitter(Parser(u'test\ntest').parse()).emit()
+u'<p>test test</p>\n'
+
 >>> parse(u'test\n\ntest')
 <p>test</p><p>test</p>