From 7f453949a17f4d3cd755ab5fc96be21396c9cc91 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 1 Feb 2016 23:09:45 -0800 Subject: minor tweaks --- include/oembed.php | 6 +++--- view/theme/redbasic/css/style.css | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/oembed.php b/include/oembed.php index 6382d0368..ff52545ee 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -204,13 +204,13 @@ function oembed_format_object($j){ // add link to source if not present in "rich" type if ( $j->type!='rich' || !strpos($j->html,$embedurl) ){ $embedlink = (isset($j->title))?$j->title:$embedurl; - $ret .= '#^' . "$embedlink"; - $ret .= "
"; + $ret .= '
#^' . "$embedlink"; + $ret .= "
"; if (isset($j->author_name)) $ret.=" by ".$j->author_name; if (isset($j->provider_name)) $ret.=" on ".$j->provider_name; } else { // add for html2bbcode conversion - $ret .= "
"; + $ret .= "
$embedurl"; } $ret.="
"; return mb_convert_encoding($ret, 'HTML-ENTITIES', mb_detect_encoding($ret)); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 7b4a3ddd7..b2255b3af 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -962,6 +962,9 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover { margin-bottom: 18px; } +#jot-preview-content { + margin-top: 10px; +} .acl-list-item { width: 48%; /* fallback if browser does not support calc() */ width: calc(50% - 10px); -- cgit v1.2.3