diff --git a/webtools/addons/overview.php b/webtools/addons/overview.php
index ab576f519a7..2865ff243c4 100644
--- a/webtools/addons/overview.php
+++ b/webtools/addons/overview.php
@@ -65,6 +65,7 @@ $db->query("
TM.ID id,
TM.Name name,
TM.Rating,
+ LEFT(TM.Description,255) as Description,
TM.downloadcount dc
FROM
main TM
diff --git a/webtools/addons/tpl/overview.tpl b/webtools/addons/tpl/overview.tpl
index 9c483d60e49..11061557d0f 100644
--- a/webtools/addons/tpl/overview.tpl
+++ b/webtools/addons/tpl/overview.tpl
@@ -15,7 +15,7 @@
{section name=new loop=$newest}
-
-{$newest[new].Name} {$newest[new].Version} ({$newest[new].DateAdded|date_format}) - {$newest[new].Description} ...
+{$newest[new].Name} {$newest[new].Version} ({$newest[new].DateAdded|date_format}) - {$newest[new].Description|escape} ...
{/section}
@@ -25,7 +25,7 @@
{section name=pe loop=$popularExtensions}
-
-{$popularExtensions[pe].name} ({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads) - {$popularExtensions[pe].Description} ...
+{$popularExtensions[pe].name} ({$popularExtensions[pe].Rating} rating, {$popularExtensions[pe].dc} downloads) - {$popularExtensions[pe].Description|escape} ...
{/section}
@@ -34,7 +34,7 @@
Popular {$app} Themes
{section name=pt loop=$popularThemes}
-- {$popularThemes[pt].name} ({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads)
+- {$popularThemes[pt].name} ({$popularThemes[pt].Rating} rating, {$popularThemes[pt].dc} downloads) - {$popularThemes[pt].Description|escape} ...
{/section}
More ...