diff --git a/view/templates/content/image/single.tpl b/view/templates/content/image/single.tpl index b3dfb7413..ea19c48a5 100644 --- a/view/templates/content/image/single.tpl +++ b/view/templates/content/image/single.tpl @@ -1,5 +1,10 @@ {{if $image->preview}} {{$image->description}} {{else}} -{{$image->description}} +
+ {{$image->description}} + {{if $image->description}} +
{{$image->description}}
+ {{/if}} +
{{/if}} diff --git a/view/templates/content/image/single_with_height_allocation.tpl b/view/templates/content/image/single_with_height_allocation.tpl index 1d70194be..60b4669e3 100644 --- a/view/templates/content/image/single_with_height_allocation.tpl +++ b/view/templates/content/image/single_with_height_allocation.tpl @@ -12,6 +12,9 @@ {{else}} {{$image->description}} + {{if $image->description}} +
{{$image->description}}
+ {{/if}} {{/if}}