diff options
| author | Tyler Bello <tylerbello@users.sourceforge.net> | 2009-10-15 20:30:58 +0000 |
|---|---|---|
| committer | Tyler Bello <tylerbello@users.sourceforge.net> | 2009-10-15 20:30:58 +0000 |
| commit | 4840869a4a569c64d44c6131d4c5bc780d53d4aa (patch) | |
| tree | 68e99dd007568195f45fffcd65c85256cc883a46 /templates | |
| parent | a134e0b65e42f58e04de3d964934d72b931c9194 (diff) | |
| download | liberty-4840869a4a569c64d44c6131d4c5bc780d53d4aa.tar.gz liberty-4840869a4a569c64d44c6131d4c5bc780d53d4aa.tar.bz2 liberty-4840869a4a569c64d44c6131d4c5bc780d53d4aa.zip | |
sorround description in p tag so it doesnt break inline elements like the <br/>
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mime/default/attachment.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/mime/default/attachment.tpl b/templates/mime/default/attachment.tpl index 1f421f4..3d5eae2 100644 --- a/templates/mime/default/attachment.tpl +++ b/templates/mime/default/attachment.tpl @@ -12,7 +12,8 @@ <img class="thumb" src="{$attachment.thumbnail_url.$thumbsize}" alt="{$wrapper.alt|default:$wrapper.description|default:$attachment.filename|replace:"\r":""|replace:"\n":" "|escape}" title="{$wrapper.description|default:$wrapper.alt|default:$attachment.filename|replace:"\r":""|replace:"\n":" "|escape}" {if !empty($height) || !empty($width)} style="{if !empty($height)}height:{$height};{/if}{if !empty($width)}width:{$width}{/if}"{/if}/> {/if} {if $wrapper.description_parsed} - <br />{$wrapper.description_parsed} + <p>{$wrapper.description_parsed}</p> + {/if} {if $wrapper.display_url}</a>{/if} </{$wrapper.wrapper|default:'div'}> |
