diff --git a/include/plugin.php b/include/plugin.php
index df33fd3f20..e37ae84357 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -249,6 +249,7 @@ function get_theme_info($theme){
list($k,$v) = array_map("trim", explode(":",$l,2));
$k= strtolower($k);
if ($k=="author"){
+
$r=preg_match("|([^<]+)<([^>]+)>|", $v, $m);
if ($r) {
$info['author'][] = array('name'=>$m[1], 'link'=>$m[2]);
diff --git a/js/main.js b/js/main.js
index 0b5fb5cdc0..defd1f951a 100755
--- a/js/main.js
+++ b/js/main.js
@@ -591,7 +591,7 @@ Array.prototype.remove = function(item) {
function previewTheme(elm) {
theme = $(elm).val();
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
- $('#theme-preview').html('');
+ $('#theme-preview').html('