From 3bc0fa4b328bc8b86aa6d4dbb5ffa79e9bca008b Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 24 Aug 2014 12:21:53 -0700 Subject: [PATCH] improve InstallGentoo embedding --- src/Linkification/Linkify.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 0b0ce23ba..8059cf503 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -251,7 +251,7 @@ Linkify = $.el 'div', <%= html('') %> , key: 'InstallGentoo' - regExp: /^\w+:\/\/paste\.installgentoo\.com\/view\/(\w+)/ + regExp: /^\w+:\/\/paste\.installgentoo\.com\/view\/(?:raw\/|download\/|embed\/)?(\w+)/ el: (a) -> $.el 'iframe', src: "https://paste.installgentoo.com/view/embed/#{a.dataset.uid}"