summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-10 00:44:22 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-10 00:44:22 +0200
commitcdf861a23233afb955b3c722a73d9e6ac8de3942 (patch)
tree4330e1ada833d4e41afaf4dd9d67d3a0effe1a13 /app
parenta25d90335ad3738b6831288190132c2f7498465c (diff)
Fix stale assertions and escaped body in revisions#show
The table-based markup revisions#show's own test was asserting against (<strong>, <td>) 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.
Diffstat (limited to 'app')
-rw-r--r--app/views/revisions/show.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
33 <div class="node_content"><%= @page.abstract %></div> 33 <div class="node_content"><%= @page.abstract %></div>
34 34
35 <div class="node_description">Body</div> 35 <div class="node_description">Body</div>
36 <div class="node_content"><%= @page.body %></div> 36 <div class="node_content"><%= raw @page.body %></div>
37 </div> 37 </div>
38</div> 38</div>