diff options
author | hellekin <hellekin@cepheide.org> | 2020-06-30 11:05:06 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-06-30 11:05:06 +0200 |
commit | 7e07ba4bacc9c087f87a154b1cd74cb84b61ef0a (patch) | |
tree | 78a82cb28ff6e9cf9bac61adaf22f8c17740dbbe /plugin.rb | |
parent | 20a073975568783711566f9d86bd0512ae92f1f8 (diff) | |
download | discourse-pad-7e07ba4bacc9c087f87a154b1cd74cb84b61ef0a.tar.gz |
Adapt to support pad.public.cat
Diffstat (limited to 'plugin.rb')
-rw-r--r-- | plugin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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\.public\.cat/} 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'>Go to this Pad</a>" end end |