Retrieving HTML from MongoDB for use in Template

前端 未结 1 846
有刺的猬
有刺的猬 2020-12-06 19:10

I\'m new to Meteor.js and MongoDB so this question might have an obvious solution that I am missing but so far my searches have turned up nothing.

My first Meteor pr

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-06 19:25

    Use three brackets {{{ }}} to tell meteor not to escape your html strings.

     {{{headerHTML}}}
     {{{bodyHTML}}}
    

    0 讨论(0)
提交回复
热议问题