Skip to content

Commit

Permalink
fixed the storage error when html is frozen
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebeqx committed Jan 27, 2024
1 parent 68a69b3 commit 02f168a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mini_profiler.rb
Expand Up @@ -469,7 +469,7 @@ def inject(fragment, script)
safe_script = script.html_safe
end

fragment.insert(index, safe_script)
(+fragment).insert(index, safe_script)
else
fragment
end
Expand Down

0 comments on commit 02f168a

Please sign in to comment.