To reproduce, use this roll template code:  <rolltemplate class="sheet-rolltemplate-test">
    <h4>A nice template header</h4>
    <div>
    {{#rollGreater() roll1 0}}{{roll1}}{{/rollGreater() roll1 0}}
    </div>
</rolltemplate>
 Send the chat message "&{template:test} {{roll1=[[1d6]]}}". It will display correctly in chat, but in the archive, the roll will not display at all.