From 36b2d920f34445320fcbc3bbb5cc7662507d5e19 Mon Sep 17 00:00:00 2001 From: swag Date: Sat, 6 May 2023 00:00:16 -0400 Subject: [PATCH] Revert "Don't escape with HTML::Restrict" This reverts commit 8b840a856ce5c215515a29fc3fa29c1a60f9712d. --- lib/PostText.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/PostText.pm b/lib/PostText.pm index 6b38cfc..8ec277f 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -31,10 +31,7 @@ sub startup($self) { }); $self->helper(hr => sub ($c) { - state $hr = HTML::Restrict->new( - filter_text => 0, - strip_enclosed_content => [] - ) + state $hr = HTML::Restrict->new(strip_enclosed_content => []) }); $self->helper(thread => sub ($c) {