Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschlinkert committed Jan 15, 2017
1 parent 65a23eb commit c0fa6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require = fn;
*/

utils.getTitle = function(str) {
if (/^\[[^\]]+\]\(/.test(str)) {
if (/^\[[^\]]+\]\(/.test(str)) {
var m = /^\[([^\]]+)\]/.exec(str);
if (m) return m[1];
}
Expand Down

0 comments on commit c0fa6d1

Please sign in to comment.