diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php index 313bedf9c9f2b63f417f75551dda63dba619e73e..05467e611850917beff087bb00e291a87e5ecd70 100644 --- a/lib/private/template/functions.php +++ b/lib/private/template/functions.php @@ -47,7 +47,7 @@ function style($app, $file) { * @param string $file the path relative to the app's component folder */ function component($app, $file) { - $url = link_to($app, 'component/' . $file); + $url = link_to($app, 'component/' . $file . '.html'); OC_Util::addHeader('link', array('rel' => 'import', 'href' => $url)); }