summaryrefslogtreecommitdiff
path: root/lib/VNDB
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2018-01-13 11:56:07 +0100
committerYorhel <git@yorhel.nl>2018-01-13 11:56:07 +0100
commit0fc89d090d34f2d7b2037cf6ccc55422c63ed253 (patch)
tree1653ce44439167a48044679b74ff714a8bae45c1 /lib/VNDB
parent0dfcad1921d1f20e51ebb5dc6d07e330367f3631 (diff)
Handler::Chars: Fix setting of og:image tag
Diffstat (limited to 'lib/VNDB')
-rw-r--r--lib/VNDB/Handler/Chars.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Chars.pm b/lib/VNDB/Handler/Chars.pm
index 9824a7d9..bc1e969e 100644
--- a/lib/VNDB/Handler/Chars.pm
+++ b/lib/VNDB/Handler/Chars.pm
@@ -31,7 +31,7 @@ sub page {
my $metadata = {
'og:title' => $r->{name},
- 'og:description' => bb2text $r->{desc},
+ 'og:description' => bb2text($r->{desc}),
'og:image' => $r->{image} && imgurl(ch => $r->{image}),
};