diff --git a/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java b/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java
index <HASH>..<HASH> 100644
--- a/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java
+++ b/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java
@@ -192,7 +192,7 @@ public class TagRenderer {
 	}
 
 	protected boolean isSingleTag(String name) {
-		return name.equals("input") || name.equals("br") || name.equals("link");
+		return name.equals("input") || name.equals("br") || name.equals("link") || name.equals("img");
 	}
 
 	protected void attrToStr(OutputStream out, TagImpl tag, String attr, Object value) {
Fixed "img" tag rendering (as single tag).