Account: add rel="me" to profile links

This commit is contained in:
Derf Null 2023-06-04 18:56:43 +02:00
parent c420994a6f
commit 42252ee96d
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -752,7 +752,7 @@ sub profile {
} }
my $html_value my $html_value
= ( $value = ( $value
=~ s{ \[ ([^]]+) \]\( ([^)]+) \) }{'<a href="' . xml_escape($2) . '">' . xml_escape($1) .'</a>' }egrx =~ s{ \[ ([^]]+) \]\( ([^)]+) \) }{'<a href="' . xml_escape($2) . '" rel="me">' . xml_escape($1) .'</a>' }egrx
); );
$profile->{metadata}[$i] = { $profile->{metadata}[$i] = {
key => $key, key => $key,