diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 32cd818cac..8c1476fa35 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -50,7 +50,7 @@ use Friendica\Util\XML; class BBCode { // Update this value to the current date whenever changes are made to BBCode::convert - const VERSION = '2021-05-01'; + const VERSION = '2021-05-21'; const INTERNAL = 0; const EXTERNAL = 1; @@ -1721,7 +1721,7 @@ class BBCode $text); } elseif (!$simple_html) { $text = preg_replace("/([@!])\[url\=(.*?)\](.*?)\[\/url\]/ism", - '$1$3', + '$1$3', $text); } diff --git a/src/Model/Tag.php b/src/Model/Tag.php index 796cc13f88..1bc700c3f1 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -425,8 +425,8 @@ class Tag $item['body'] = str_replace($orig_tag, $tag['url'], $item['body']); } - $return['hashtags'][] = $prefix . '' . htmlspecialchars($tag['name']) . ''; - $return['tags'][] = $prefix . '' . htmlspecialchars($tag['name']) . ''; + $return['hashtags'][] = '' . $prefix . '' . htmlspecialchars($tag['name']) . ''; + $return['tags'][] = '' . $prefix . '' . htmlspecialchars($tag['name']) . ''; break; case self::MENTION: case self::EXCLUSIVE_MENTION: @@ -435,8 +435,8 @@ class Tag } else { $tag['url'] = Contact::magicLink($tag['url']); } - $return['mentions'][] = $prefix . '' . htmlspecialchars($tag['name']) . ''; - $return['tags'][] = $prefix . '' . htmlspecialchars($tag['name']) . ''; + $return['mentions'][] = '' . $prefix . '' . htmlspecialchars($tag['name']) . ''; + $return['tags'][] = '' . $prefix . '' . htmlspecialchars($tag['name']) . ''; break; case self::IMPLICIT_MENTION: $return['implicit_mentions'][] = $prefix . $tag['name']; diff --git a/view/templates/admin/features.tpl b/view/templates/admin/features.tpl index 46a7abea26..42058d5caf 100644 --- a/view/templates/admin/features.tpl +++ b/view/templates/admin/features.tpl @@ -15,7 +15,7 @@ {{/foreach}} -
+
diff --git a/view/templates/album_edit.tpl b/view/templates/album_edit.tpl index b6f24ec3b2..dd4459fe9e 100644 --- a/view/templates/album_edit.tpl +++ b/view/templates/album_edit.tpl @@ -1,10 +1,10 @@
-
+ - - + +
@@ -12,4 +12,4 @@
-
+
diff --git a/view/templates/birthdays_reminder.tpl b/view/templates/birthdays_reminder.tpl index 6aa51d4702..5fb75a993d 100644 --- a/view/templates/birthdays_reminder.tpl +++ b/view/templates/birthdays_reminder.tpl @@ -1,7 +1,7 @@ {{if $count}} -