From 83d7acf32173ead835c760393efd3e7f83d9fa71 Mon Sep 17 00:00:00 2001 From: Mikk Romulus Date: Wed, 24 Jan 2024 10:52:26 +0200 Subject: [PATCH] fix: docs pages Error was introduced in rails 7.1 upgrade --- config/initializers/markdown.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/markdown.rb b/config/initializers/markdown.rb index 4fb0e941..70411b54 100644 --- a/config/initializers/markdown.rb +++ b/config/initializers/markdown.rb @@ -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