Allow <br> and <s> input
This commit is contained in:
parent
f74e57846c
commit
70e1f3a15c
|
@ -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 => []
|
||||
}
|
||||
)
|
||||
});
|
||||
|
||||
|
|
|
@ -27,8 +27,9 @@ This is correct for a multi-line code block:
|
|||
}
|
||||
</code></pre>
|
||||
<p>You can use an actual tab character or four spaces to indent.
|
||||
<strong>Only Markdown is supported, HTML will be filtered
|
||||
out.</strong></p>
|
||||
Only Markdown as well as the HTML tags <code><br></code> and
|
||||
<code><s></code> are supported. <strong>All other HTML will
|
||||
be filtered out.</strong></p>
|
||||
<p>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
|
||||
<a href="mailto:swaggboi@slackware.uk">webmaster</a>. There is
|
||||
|
|
Loading…
Reference in a new issue