lib/onebox/engine/github_blob_onebox.rb in onebox-1.3.1 vs lib/onebox/engine/github_blob_onebox.rb in onebox-1.3.2

- old
+ new

@@ -41,10 +41,10 @@ @raw = contents end end def data - @data ||= {title: link.sub(/^https?\:\/\//, ''), + @data ||= {title: link.sub(/^https?\:\/\/github\.com\//, ''), link: link, content: raw, truncated: @truncated} end end