diff --git a/README.md b/README.md index 56de619..f30fa1c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,6 @@ tests locally: ## TODOs -- Figure out why `filter_text` is set to `0` and document that? - Stop working on this and start the imageboard ## AGPL-3.0+ANTIFA compliance diff --git a/lib/PostText.pm b/lib/PostText.pm index 1f68e6a..4344d3f 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -30,6 +30,8 @@ sub startup($self) { $self->helper(hr => sub ($c) { state $hr = HTML::Restrict->new( + # filter_text breaks greater and less than symbols in Markdown code blocks + # Also breaks Markdown quote blocks filter_text => 0, strip_enclosed_content => [], rules => {