diff --git a/plugin.rb b/plugin.rb index d2681cdd3db53bf3c2ec6a8e69b860893b65ddf7..79bc959d355879a77217a2eecdd2c180f631e445 100644 --- a/plugin.rb +++ b/plugin.rb @@ -7,9 +7,9 @@ class Onebox::Engine::CodimdOnebox include Onebox::Engine # we only want to match for a specific codimd domain - matches_regexp %r{\Ahttps://pad\.libreho\.st/} + matches_regexp %r{\Ahttps://pad\.degrowth\.net/} def to_html - "<iframe name='embed_readwrite' src='#{@url}' style='border-width:0' frameborder='0' scrolling='no' width='100%' height=600></iframe><br><a href='#{@url}' target='_blank'>Goto this Pad</a>" + "<iframe name='embed_readwrite' src='#{@url}' style='border-width:0' frameborder='0' scrolling='no' width='100%' height=600></iframe><br /><a href='#{@url}' target='_blank'>Visit this pad.</a>" end end