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