Add Link promt in comment + only add URL instead of attachement via parse_url
This commit is contained in:
parent
93c6dddc0d
commit
3065d1c40a
3 changed files with 55 additions and 1 deletions
|
@ -92,6 +92,11 @@ function parse_url_content(App $a)
|
|||
}
|
||||
}
|
||||
|
||||
if(!empty($_GET['isComment'])) {
|
||||
echo $br . '[url]' . $url . '[/url]';
|
||||
exit();
|
||||
}
|
||||
|
||||
$template = '[bookmark=%s]%s[/bookmark]%s';
|
||||
|
||||
$arr = ['url' => $url, 'text' => ''];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue