Skip to content

Commit

Permalink
fix: docs pages
Browse files Browse the repository at this point in the history
Error was introduced in rails 7.1 upgrade
  • Loading branch information
mromulus committed Jan 24, 2024
1 parent 3cec486 commit 83d7acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/markdown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def call(template, source)
tables: true,
with_toc_data: true,
autolink: true
).render(begin;#{compiled_source};end).html_safe"
).render(begin;#{compiled_source};end.to_s).html_safe"
end
end

Expand Down

0 comments on commit 83d7acf

Please sign in to comment.