diff options
Diffstat (limited to 'lib/action_text')
-rw-r--r-- | lib/action_text/content.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_text/content.rb b/lib/action_text/content.rb index 2eff8bb361..9dae07cf0c 100644 --- a/lib/action_text/content.rb +++ b/lib/action_text/content.rb @@ -54,7 +54,7 @@ module ActionText end def to_html_with_layout - ActionText.renderer.render(partial: "action_text/content/layout", locals: { document: to_html.html_safe }).html_safe + ActionText.renderer.render(partial: "action_text/content/layout", locals: { document: to_html }).html_safe end def to_s |