Skip to content

Commit

Permalink
[processing] fixed breaklines in script help
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 12, 2013
1 parent 11fba22 commit 0f1a272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/Help2Html.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ def getHtmlFile(self, alg, helpFile):

def getDescription(self, name):
if name in self.descriptions:
return self.descriptions[name]
return self.descriptions[name].replace("\n", "<br>")
else:
return ''
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/HelpEditionDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def updateHtmlView(self):

def getDescription(self, name):
if name in self.descriptions:
return self.descriptions[name]
return self.descriptions[name].replace('\n', '<br>')
else:
return ''

Expand Down

0 comments on commit 0f1a272

Please sign in to comment.