From d8885e3793c5906015ccd6af52c263989ec1a76d Mon Sep 17 00:00:00 2001 From: Yorhel Date: Wed, 9 Sep 2020 07:11:11 +0200 Subject: Chars::Page: Fix replacing of spoiler tags with an indicator --- lib/VNWeb/Chars/Page.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VNWeb/Chars/Page.pm b/lib/VNWeb/Chars/Page.pm index b131b7e9..8a9966ae 100644 --- a/lib/VNWeb/Chars/Page.pm +++ b/lib/VNWeb/Chars/Page.pm @@ -213,7 +213,7 @@ sub chartable_ { tr_ class => 'nostripe', sub { td_ colspan => 2, class => 'chardesc', sub { h2_ 'Description'; - p_ sub { lit_ bb_format $c->{desc}, delspoil => $view->{spoilers} != 2, keepspoil => $view->{spoilers} == 2 }; + p_ sub { lit_ bb_format $c->{desc}, replacespoil => $view->{spoilers} != 2, keepspoil => $view->{spoilers} == 2 }; }; } if $c->{desc}; }; -- cgit v1.2.3