mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
"getStyledURL" is now public
This commit is contained in:
parent
7b02585b97
commit
7e03072082
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ class BBCode
|
||||||
* @param string $url URL that is about to be reformatted
|
* @param string $url URL that is about to be reformatted
|
||||||
* @return string reformatted link
|
* @return string reformatted link
|
||||||
*/
|
*/
|
||||||
private static function getStyledURL(string $url): string
|
public static function getStyledURL(string $url): string
|
||||||
{
|
{
|
||||||
$parts = parse_url($url);
|
$parts = parse_url($url);
|
||||||
$scheme = $parts['scheme'] . '://';
|
$scheme = $parts['scheme'] . '://';
|
||||||
|
|
Loading…
Reference in a new issue