diff --git a/lib/oneboxer/open_graph_onebox.rb b/lib/oneboxer/open_graph_onebox.rb index 427310ccdaf..53e4a4349ff 100644 --- a/lib/oneboxer/open_graph_onebox.rb +++ b/lib/oneboxer/open_graph_onebox.rb @@ -20,6 +20,7 @@ module Oneboxer @opts[:original_url] = @url @opts[:text] = @opts['description'] + @opts[:unsafe] = true begin parsed = URI.parse(@url) diff --git a/lib/oneboxer/templates/simple_onebox.hbrs b/lib/oneboxer/templates/simple_onebox.hbrs index 340a89fb526..5eda1f98ff0 100644 --- a/lib/oneboxer/templates/simple_onebox.hbrs +++ b/lib/oneboxer/templates/simple_onebox.hbrs @@ -12,7 +12,12 @@ {{#image}}{{/image}}

{{title}}

{{#by_info}}

{{by_info}}

{{/by_info}} - {{{text}}} + {{#unsafe}} + {{text}} + {{/unsafe}} + {{^unsafe}} + {{{text}}} + {{/unsafe}}