Document the use of filter_text => 0
This commit is contained in:
parent
c3129511c6
commit
d775ae2ce6
@ -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
|
||||
|
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user