tao-test/app/taoQtiItem/views/js/qtiXmlRenderer/tpl/element.tpl

5 lines
195 B
Smarty
Raw Normal View History

2022-08-29 20:14:13 +02:00
{{~#if body~}}
<{{tag}}{{#if attributes}} {{{join attributes '=' ' ' '"'}}}{{/if}}>{{{body}}}</{{tag}}>
{{~else~}}
<{{tag}}{{#if attributes}} {{{join attributes '=' ' ' '"'}}}{{/if}} />
{{~/if~}}