diff options
author | Derf Null <derf@finalrewind.org> | 2023-06-04 18:56:43 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-06-04 18:56:43 +0200 |
commit | 42252ee96d896e0916c8e019ab090ad0ae3e8edc (patch) | |
tree | a419e396980db8454fa98ab9e5247b520168ee9f /lib/Travelynx/Controller | |
parent | c420994a6fe76b1af0ed350d5ae0a5afee45084a (diff) |
Account: add rel="me" to profile links
Diffstat (limited to 'lib/Travelynx/Controller')
-rw-r--r-- | lib/Travelynx/Controller/Account.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index fe5d5cc..db8c92b 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -752,7 +752,7 @@ sub profile { } my $html_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] = { key => $key, |