summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Misc/BBCode.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNWeb/Misc/BBCode.pm')
-rw-r--r--lib/VNWeb/Misc/BBCode.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Misc/BBCode.pm b/lib/VNWeb/Misc/BBCode.pm
index 09501cb8..643ccbc4 100644
--- a/lib/VNWeb/Misc/BBCode.pm
+++ b/lib/VNWeb/Misc/BBCode.pm
@@ -2,7 +2,7 @@ package VNWeb::Misc::BBCode;
use VNWeb::Prelude;
-json_api '/js/bbcode.json', {
+json_api qr{/js/bbcode\.json}, {
content => { required => 0, default => '' }
}, sub {
elm_Content bb2html bb_subst_links shift->{content};