diff options
Diffstat (limited to 'plugin.rb')
-rw-r--r-- | plugin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,8 +6,8 @@ class Onebox::Engine::CodimdOnebox include Onebox::Engine - #we only want to match for a specific codimd domain - matches_regexp /pad.libreho.st/ + # we only want to match for a specific codimd domain + matches_regexp %r{\Ahttps://pad\.libreho\.st/} 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>" |