Fixing pinned is not int

This commit is contained in:
Sergiotarxz 2023-09-11 01:26:08 +02:00
parent 78d88db6d9
commit 8563a1bf6f

View File

@ -81,7 +81,7 @@ sub _GeneratePostFromFile ( $self, $post_file ) {
my $pinned; my $pinned;
if ( defined $pinned_node ) { if ( defined $pinned_node ) {
$pinned = int($pinned_node); $pinned = int($pinned_node->text);
} }
if ( defined $image_element ) { if ( defined $image_element ) {
$image = $image_element->attr->{src}; $image = $image_element->attr->{src};