common/corpus-common-addon/addon/templates/components/doc-literal.hbs
author ymh <ymh.work@gmail.com>
Tue, 20 Dec 2016 01:50:35 +0100
changeset 479 e7df0b5b09b6
parent 141 c0e8626a271c
permissions -rw-r--r--
better cross browser compatibility, still pb with MS edge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
141
c0e8626a271c literal are now objects if one of lang or datatype is not null
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
{{#if value}}{{value}}{{/if}}<span class="doc-supsub">{{#if lang}}<sup>{{lang}}</sup>{{/if}}{{#if datatype}}<sub>{{datatype}}</sub>{{/if}}</span>