mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Revert "Merge branch 'onebox-safety' of git://github.com/tms/discourse"
This reverts commit 7ca57db97afda4d1c130269061f0db3cb9d0dd42, reversing changes made to b7e027cfd1590365ac9c85141ff2b02c25e900fb.
This commit is contained in:
@ -3,7 +3,7 @@ require_dependency 'oneboxer/handlebars_onebox'
|
||||
module Oneboxer
|
||||
class GithubBlobOnebox < HandlebarsOnebox
|
||||
|
||||
matcher /^https?:\/\/(?:www\.)?github\.com\/[^\/]+\/[^\/]+\/blob\/.*/
|
||||
matcher /github\.com\/[^\/]+\/[^\/]+\/blob\/.*/
|
||||
favicon 'github.png'
|
||||
|
||||
def translate_url
|
||||
|
Reference in New Issue
Block a user