mirror of
https://github.com/vale981/ablog
synced 2025-03-06 01:31:39 -05:00
Fixed issue #34
This commit is contained in:
parent
9c8039f6cc
commit
acc5ed43c4
2 changed files with 2 additions and 2 deletions
|
@ -491,7 +491,7 @@ class Collection(object):
|
|||
|
||||
def __str__(self):
|
||||
|
||||
return str(self.name)
|
||||
return text_type(self.name)
|
||||
|
||||
def __len__(self):
|
||||
|
||||
|
|
|
@ -408,7 +408,7 @@ def process_postlist(app, doctree, docname):
|
|||
par.append(ref)
|
||||
emp = nodes.emphasis()
|
||||
ref.append(emp)
|
||||
emp.append(nodes.Text(str(item)))
|
||||
emp.append(nodes.Text(text_type(item)))
|
||||
if i + 1 < len(items):
|
||||
par.append(nodes.Text(', '))
|
||||
if excerpts:
|
||||
|
|
Loading…
Add table
Reference in a new issue