mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Prevent hashtag parsing and replacement in image alternative text
This commit is contained in:
parent
615e6f20f0
commit
e2c38f1347
2 changed files with 2 additions and 2 deletions
|
@ -1866,7 +1866,7 @@ class Item
|
|||
|
||||
public static function setHashtags($body)
|
||||
{
|
||||
$body = BBCode::performWithEscapedTags($body, ['noparse', 'pre', 'code'], function ($body) {
|
||||
$body = BBCode::performWithEscapedTags($body, ['noparse', 'pre', 'code', 'img'], function ($body) {
|
||||
$tags = BBCode::getTags($body);
|
||||
|
||||
// No hashtags?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue