From cdf861a23233afb955b3c722a73d9e6ac8de3942 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 10 Jul 2026 00:44:22 +0200 Subject: Fix stale assertions and escaped body in revisions#show MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The table-based markup revisions#show's own test was asserting against (, ) was retired when this view moved to the node_description/node_content pattern; updated the assertions to match. Found in the same pass: @page.body had no raw(), so any real markup in a revision's body rendered as escaped entities on this page — same bug class as revisions#diff, just not yet fixed here. --- app/views/revisions/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index 4148096..92d959b 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb @@ -33,6 +33,6 @@
<%= @page.abstract %>
Body
-
<%= @page.body %>
+
<%= raw @page.body %>
-- cgit v1.3