Skip to content

Commit

Permalink
New release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cssmagic committed Oct 13, 2015
1 parent 158c2db commit 673f93b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/oh-my-github.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Oh-My-GitHub
// @version 0.1.0
// @version 0.1.1
// @author cssmagic
// @namespace https://github.com/UserScript
// @homepage https://github.com/UserScript/Oh-My-GitHub
Expand Down Expand Up @@ -1635,7 +1635,8 @@ void function () {
var title = ''

// normal headline in markdown
var reHeadline = /^#{1,6}\s*(.+)$/
// only search h1, to reduce misjudging
var reHeadline = /^#\s*([^#].*)$/
var guessMarkdownTitle = reHeadline.exec(firstLine)
if (guessMarkdownTitle) {
title = guessMarkdownTitle[1]
Expand Down
2 changes: 1 addition & 1 deletion src/meta.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Oh-My-GitHub
// @version 0.1.0
// @version 0.1.1
// @author cssmagic
// @namespace https://github.com/UserScript
// @homepage https://github.com/UserScript/Oh-My-GitHub
Expand Down

0 comments on commit 673f93b

Please sign in to comment.