diff --git a/core/basethemelet.class.php b/core/basethemelet.class.php
index e1ca4b13..ac052ca8 100644
--- a/core/basethemelet.class.php
+++ b/core/basethemelet.class.php
@@ -45,7 +45,7 @@ class BaseThemelet {
 
 		return '<a href="'.$h_view_link.'" class="thumb">'.
 		       '<img id="thumb_'.$i_id.'" title="'.$h_tip.'" alt="'.$h_tip.'" height="'.$tsize[1].'" width="'.$tsize[0].'" src="'.$h_thumb_link.'">'.
-			   '</a>';
+			   "</a>\n";
 	}
 
 
diff --git a/core/block.class.php b/core/block.class.php
index 1c33aed7..6a2844cb 100644
--- a/core/block.class.php
+++ b/core/block.class.php
@@ -55,7 +55,7 @@ class Block {
 		$h_toggler = $hidable ? " shm-toggler" : "";
 		if(!is_null($h)) $html .= "<h3 data-toggle-sel='#$i' class='$h_toggler'>$h</h3>";
 		if(!is_null($b)) $html .= "<div class='blockbody'>$b</div>";
-		$html .= "</section>";
+		$html .= "</section>\n";
 		return $html;
 	}
 }
diff --git a/ext/index/style.css b/ext/index/style.css
index 7c9e1586..a709965f 100644
--- a/ext/index/style.css
+++ b/ext/index/style.css
@@ -5,4 +5,5 @@
 	box-shadow: none;
 	margin: 0px;
 	padding: 0px;
+	text-align: justify;
 }