diff --git a/html/inc/prefs_project.inc b/html/inc/prefs_project.inc
index 61644673c3..a033d27d43 100644
--- a/html/inc/prefs_project.inc
+++ b/html/inc/prefs_project.inc
@@ -271,7 +271,7 @@ function print_prefs_display_project($user, $columns=false) {
$switch_link = " ".tra("(Switch View)")."";
if ($columns) {
- echo "
".tra("Combined preferences").$switch_link."
";
+ echo "".tra("Combined preferences").$switch_link."
";
start_table();
prefs_show_privacy($user, true);
venue_show($user);
@@ -282,7 +282,7 @@ function print_prefs_display_project($user, $columns=false) {
end_table();
} else {
if (isset($project_prefs->home) || isset($project_prefs->work) || isset($project_prefs->school)) {
- echo "".tra("Primary (default) preferences").$switch_link."
";
+ echo "".tra("Primary (default) preferences").$switch_link."
";
}
start_table();
prefs_show_project($project_prefs, false);
diff --git a/html/project.sample/project_specific_prefs.inc b/html/project.sample/project_specific_prefs.inc
index a09a315a57..27e9b28ee0 100644
--- a/html/project.sample/project_specific_prefs.inc
+++ b/html/project.sample/project_specific_prefs.inc
@@ -109,7 +109,7 @@ function project_specific_prefs_default() {
function number_select($name, $max, $n) {
$sel = ($n == 0) ? "selected":"";
- $x = "