--- a/src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt Sun Jun 17 16:41:24 2018 +0200
+++ b/src/pyams_content/component/keynumber/portlet/zmi/templates/keynumber-preview.pt Mon Jun 18 09:17:40 2018 +0200
@@ -1,8 +1,9 @@
<div tal:define="settings view.settings" i18n:domain="pyams_content">
<strong tal:define="title i18n:settings.title"
tal:condition="title">
- <tal:var content="title"/> :<br /></strong>
- <div tal:content="structure html:settings.teaser">Teaser</div>
+ <tal:var content="title"/><br /></strong>
+ <div tal:define="teaser i18n:settings.teaser"
+ tal:content="structure extension:html(teaser)">Teaser</div>
<ul>
<li tal:repeat="number settings.keynumbers.get_visible_items()">
<span tal:define="label i18n:number.label"
@@ -17,4 +18,3 @@
</li>
</ul>
</div>
-