diff options
author | Yorhel <git@yorhel.nl> | 2020-07-26 07:40:01 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-07-26 07:40:01 +0200 |
commit | e37e6be169d0fd3ce1d49b9466a54cad59083efd (patch) | |
tree | b721ad8b891420c2ada1896894ce01299078cf30 /lib/VNWeb/Misc | |
parent | b3f5a6e514691027f95b7c84543b66eca8b18701 (diff) |
Reports: Allow bbcode in reports & mod comments
Diffstat (limited to 'lib/VNWeb/Misc')
-rw-r--r-- | lib/VNWeb/Misc/Reports.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNWeb/Misc/Reports.pm b/lib/VNWeb/Misc/Reports.pm index fa1cbb44..d3872f93 100644 --- a/lib/VNWeb/Misc/Reports.pm +++ b/lib/VNWeb/Misc/Reports.pm @@ -106,7 +106,7 @@ sub report_ { lit_ $r->{title}; br_; txt_ $r->{reason}; - div_ class => 'quote', sub { lit_ TUWF::XML::html_escape $r->{message} } if $r->{message}; + div_ class => 'quote', sub { lit_ bb2html $r->{message} } if $r->{message}; }; td_ style => 'width: 300px', sub { form_ method => 'post', action => '/report/edit', sub { @@ -121,7 +121,7 @@ sub report_ { }; }; td_ sub { - lit_ TUWF::XML::html_escape $r->{log}; + lit_ bb2html $r->{log}; }; } |