diff --git a/python/plugins/processing/gui/GetScriptsAndModels.py b/python/plugins/processing/gui/GetScriptsAndModels.py index 12e361455e2..77b26b4be9c 100644 --- a/python/plugins/processing/gui/GetScriptsAndModels.py +++ b/python/plugins/processing/gui/GetScriptsAndModels.py @@ -159,9 +159,9 @@ class GetScriptsAndModelsDialog(QDialog, Ui_DlgGetScriptsAndModels): helpContent = readUrl(url) descriptions = json.loads(helpContent) html = '

%s

' % item.name - html += self.tr('

Description:%s

') % getDescription(ALG_DESC, descriptions) - html += self.tr('

Created by:%s') % getDescription(ALG_CREATOR, descriptions) - html += self.tr('

Version:%s') % getDescription(ALG_VERSION, descriptions) + html += self.tr('

Description: %s

') % getDescription(ALG_DESC, descriptions) + html += self.tr('

Created by: %s') % getDescription(ALG_CREATOR, descriptions) + html += self.tr('

Version: %s') % getDescription(ALG_VERSION, descriptions) except HTTPError, e: html = self.tr('

No detailed description available for this script

') self.webView.setHtml(html) diff --git a/python/plugins/processing/gui/Help2Html.py b/python/plugins/processing/gui/Help2Html.py index 88ce3400f38..e7f54e1fe81 100644 --- a/python/plugins/processing/gui/Help2Html.py +++ b/python/plugins/processing/gui/Help2Html.py @@ -88,7 +88,7 @@ def getHtmlFromDescriptionsDict(alg, descriptions): def getDescription(name, descriptions): if name in descriptions: - return descriptions[name].replace("\n", "
") + return unicode(descriptions[name]).replace("\n", "
") else: return ''