Browse Source

change AP emoji to width=24

pull/119/head
Aaron Parecki 2 years ago
parent
commit
1c383b6f42
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/XRay/Formats/ActivityStreams.php

+ 1
- 1
lib/XRay/Formats/ActivityStreams.php View File

@ -118,7 +118,7 @@ class ActivityStreams extends Format {
if(count($emoji) && isset($data['content']['html'])) {
foreach($emoji as $code=>$img) {
$data['content']['html'] = str_replace($code, '<img src="'.$img.'" alt="'.$code.'" title="'.$code.'" height="24" class="xray-emoji">', $data['content']['html']);
$data['content']['html'] = str_replace($code, '<img src="'.$img.'" alt="'.$code.'" title="'.$code.'" width="24" class="xray-emoji">', $data['content']['html']);
}
}
}

Loading…
Cancel
Save