diff --git a/lib/template.php b/lib/template.php
index d1439199e1e..881d2a27b1e 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -121,7 +121,7 @@ function html_select_options($options, $selected, $params=array()) {
$label = $label[$label_name];
}
$select = in_array($value, $selected) ? ' selected="selected"' : '';
- $html .= '';
+ $html .= ''."\n";
}
return $html;
}