Fix displaying included man pages

This commit is contained in:
Yorhel 2025-06-02 07:37:28 +02:00
parent 56626f2b5d
commit 1ee9474826

View file

@ -724,7 +724,7 @@ sub man_page($man, $url) {
my $data = $content =~ s/^\.\\".*//rmg; my $data = $content =~ s/^\.\\".*//rmg;
if ($data =~ m{^\s*\.so (?:[^\s]*/)?([^\s/]+)\s*$}s) { if ($data =~ m{^\s*\.so (?:[^\s]*/)?([^\s/]+)\s*$}s) {
($follow) = man_pref_name $1, SQL 'v.id =', $man->{verid}; ($follow) = man_pref_name $1, SQL 'v.id =', $man->{verid};
($content, $fmt) = fu->SQL('SELECT content, html FROM contents WHERE id =', $follow->{content})->rowh if $follow; ($content, $fmt) = fu->SQL('SELECT content, html FROM contents WHERE id =', $follow->{content})->rowl if $follow;
} }
} }