Commits

Bertrand Bordage  committed 9d23793

Avoid blank descriptions.

  • Participants
  • Parent commits 67d0372

Comments (0)

Files changed (1)

File cmsplugin_nivoslider/templates/nivo/slider.html

                     src="{{img.image.url}}"
                     data-thumb="{{ img.image.icons.64 }}"
                     alt="{{img.name|default:''}}" />
-            <div id="nivo-slide{{img.pk}}-text">
-                {{img.description|default:''|safe}}
-            </div>
+            {% spaceless %}
+                <div id="nivo-slide{{img.pk}}-text">
+                    {{img.description|default:''|safe}}
+                </div>
+            {% endspaceless %}
         {% endfor %}
     </div>
 </div>