Perlcritic and similar fixes, no functional changes

This commit is contained in:
eleksir
2021-03-27 10:35:04 +03:00
parent 36208a35d5
commit c6ce5b1421
4 changed files with 9 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ sub buni {
{
do {
$#a = -1;
@a = $p->get_tag("meta");
@a = $p->get_tag('meta'); ## no critic (Variables::RequireLocalizedPunctuationVars)
if (defined $a[0][1]->{property} && $a[0][1]->{property} eq 'og:image') {
$ret = sprintf '[buni](%s)', $a[0][1]->{content};