Support line return

This commit is contained in:
angelblue05 2018-04-20 02:16:38 -05:00
parent 1407a620ee
commit c66ca3b99c

View File

@ -329,8 +329,9 @@ class API(object):
try:
overview = self.item['Overview']
overview = overview.replace("\"", "\'")
overview = overview.replace("\n", " ")
overview = overview.replace("\n", "[CR]")
overview = overview.replace("\r", " ")
overview = overview.replace("<br>", "[CR]")
except KeyError:
overview = ""