mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge branch 'ticket/jellydoughnut/9727' into develop-olympus
* ticket/jellydoughnut/9727: [ticket/9727] Smiley Path replacement in feeds is too generic
This commit is contained in:
commit
cfe0b5356f
1 changed files with 2 additions and 2 deletions
|
@ -276,8 +276,8 @@ function feed_generate_content($content, $uid, $bitfield, $options)
|
|||
// Add newlines
|
||||
$content = str_replace('<br />', '<br />' . "\n", $content);
|
||||
|
||||
// Relative Path to Absolute path, Windows style
|
||||
$content = str_replace('./', $board_url . '/', $content);
|
||||
// Convert smiley Relative paths to Absolute path, Windows style
|
||||
$content = str_replace($phpbb_root_path . $config['smilies_path'], $board_url . '/' . $config['smilies_path'], $content);
|
||||
|
||||
// Remove "Select all" link and mouse events
|
||||
$content = str_replace('<a href="#" onclick="selectCode(this); return false;">' . $user->lang['SELECT_ALL_CODE'] . '</a>', '', $content);
|
||||
|
|
Loading…
Add table
Reference in a new issue