diff --git a/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl b/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl
index 56b90055..7df9ec96 100644
--- a/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl
+++ b/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl
@@ -132,7 +132,11 @@
#if>
@compress>
-
+ <#if filter="none">
+
+ <#else>
+
+ #if>
<#assign lastSource = ""/>
<#list sources as source>
<#if filter == "none" && lastSource != source.works || source.excerpt == filter >
@@ -158,7 +162,11 @@
#if>
@compress>
-
+ <#if filter="none">
+
+ <#else>
+
+ #if>
<#assign lastLiterature = ""/>
<#list literature as literatureItem>
<#if filter == "none" && lastLiterature != literatureItem.bibliography || literatureItem.excerpt == filter >