diff --git a/themes/danbooru/index.theme.php b/themes/danbooru/index.theme.php
index 8bbe2317..7526f57a 100644
--- a/themes/danbooru/index.theme.php
+++ b/themes/danbooru/index.theme.php
@@ -62,7 +62,7 @@ class CustomIndexTheme extends IndexTheme
$h_query = html_escape($query);
$table = "
";
foreach ($images as $image) {
- $table .= "\t" . $this->build_thumb_html($image) . "\n";
+ $table .= $this->build_thumb_html($image) . "\n";
}
$table .= "
";
return $table;
diff --git a/themes/danbooru2/index.theme.php b/themes/danbooru2/index.theme.php
index 52993984..01f8b23c 100644
--- a/themes/danbooru2/index.theme.php
+++ b/themes/danbooru2/index.theme.php
@@ -49,7 +49,7 @@ class CustomIndexTheme extends IndexTheme
$h_query = html_escape($query);
$table = "";
foreach ($images as $image) {
- $table .= "\t" . $this->build_thumb_html($image) . "\n";
+ $table .= $this->build_thumb_html($image) . "\n";
}
$table .= "
";
return $table;