';
$response->html .= '
'.esc_html($repo->description)."
";
$response->html .= ''.esc_html($repo->html_url)."
";
$response->html .= esc_html($repo->forks_count)." forks.
";
@@ -263,9 +263,11 @@ class github_embed {
$response->title = $owner_info->name;
// @TODO This should all be templated
- $response->html = '
'.esc_html($owner)."
";
+ $response->html = '
';
+ $response->html .= '
'.esc_html($owner)."
";
$response->html .= esc_html($owner_info->public_repos).' repositories, ';
$response->html .= esc_html($owner_info->followers).' followers.
';
+ $response->html .= '
';
header ( 'Content-Type: application/json' );
echo json_encode ( $response );