diff --git a/public_html/templates/default/viewSearch.tpl b/public_html/templates/default/viewSearch.tpl
index 5c268da2..0b451096 100644
--- a/public_html/templates/default/viewSearch.tpl
+++ b/public_html/templates/default/viewSearch.tpl
@@ -96,7 +96,7 @@
{if $LSsearch->displaySubDn}{$object->subDn|escape:"htmlall"} | {/if}
{if $LSsearch->extraDisplayedColumns}
{foreach from=$LSsearch->visibleExtraDisplayedColumns item=conf key=cid}
- {$object->$cid|escape:"htmlall"} |
+ {if !isset($conf.escape) || $conf.escape}{$object->$cid|escape:"htmlall"}{else}{$object->$cid}{/if} |
{/foreach}
{/if}
|