diff --git a/lib/PostText.pm b/lib/PostText.pm index 05fb4ae..dd16d95 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -33,7 +33,11 @@ sub startup($self) { $self->helper(hr => sub ($c) { state $hr = HTML::Restrict->new( filter_text => 0, - strip_enclosed_content => [] + strip_enclosed_content => [], + rules => { + br => [], + s => [] + } ) }); diff --git a/templates/page/about.html.ep b/templates/page/about.html.ep index 55dc25b..e3fed38 100644 --- a/templates/page/about.html.ep +++ b/templates/page/about.html.ep @@ -27,8 +27,9 @@ This is correct for a multi-line code block: }

You can use an actual tab character or four spaces to indent. - Only Markdown is supported, HTML will be filtered - out.

+ Only Markdown as well as the HTML tags <br> and + <s> are supported. All other HTML will + be filtered out.

There is a button for users to 'flag' a post for review by a moderator. If you need further assistance you can reach out to the webmaster. There is