Skip to content

Commit

Permalink
Update markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ya7on authored and eugulixes committed Jan 22, 2019
1 parent 298f86d commit 2a0bd22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ module.exports = (robot) => {
}
var stringFormatting = function stringFormatting (str) {
if (!str.match(/^(begin|end)/i)) {
str = '*' + str
str = str.replace(/ - /i, ' *- ')
str = '**' + str
str = str.replace(/ - /i, '** - ')
}
return str
}
Expand Down
2 changes: 1 addition & 1 deletion test/help_message_visibility_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('help', () => describe('message visibility', () => {
'attachments': [
{
'color': '#459d87',
'text': '*hubot help *- Displays all of the help commands that this bot knows about.\n*hubot help <query> *- Displays all help commands that match <query>.',
'text': '**hubot help** - Displays all of the help commands that this bot knows about.\n**hubot help <query>** - Displays all help commands that match <query>.',
'title': 'Other commands',
'collapsed': true
}
Expand Down

0 comments on commit 2a0bd22

Please sign in to comment.