Add multimedia link for jot + enables hover text in jot + autosize in when paste link + renaming / Code Standards
This commit is contained in:
@@ -92,10 +92,6 @@ function parse_url_content(App $a)
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($_GET['isComment'])) {
|
||||
echo $br . '[url]' . $url . '[/url]';
|
||||
exit();
|
||||
}
|
||||
|
||||
$template = '[bookmark=%s]%s[/bookmark]%s';
|
||||
|
||||
@@ -128,6 +124,12 @@ function parse_url_content(App $a)
|
||||
|
||||
unset($siteinfo['keywords']);
|
||||
|
||||
// Bypass attachment if parse url for a comment
|
||||
if (!empty($_GET['noAttachment'])) {
|
||||
echo $br . '[url=' . $url . ']' . $siteinfo['title'] . '[/url]';
|
||||
exit();
|
||||
}
|
||||
|
||||
// Format it as BBCode attachment
|
||||
$info = add_page_info_data($siteinfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user