bytes back to string
This commit is contained in:
parent
ef75acd1b3
commit
b3ca36ac5c
|
@ -113,7 +113,7 @@ def get_record_text(post):
|
|||
text += "---"
|
||||
else:
|
||||
prefix = prefixes.get(child.type, "")
|
||||
text += prefix + str(child.title.encode('utf-8')) + "\n\n"
|
||||
text += prefix + child.title.encode('utf-8').decode('utf-8') + "\n\n"
|
||||
|
||||
text = re.sub('`bib:([a-zA-Z0-9-]+)`', r'![](bib:\1)', text)
|
||||
return text
|
||||
|
|
Loading…
Reference in New Issue