What's the difference?



  • Maybe someone can explain the difference. {{data}} from {{{data}}}?

    And this is the recording: {{{{raw}}}} What's the difference between the two previous ones?



  • {{data}} - removes the contents data The context(s) of the javascript-objecture template, with html-coding. I mean. <h1>Product</h1> to be removed as &lt;h1&gt;Product&lt;/h1&gt;♪ It's useful to work with a user input that is by definition unsafe.

    {{{data}}} - removes the contents data the context without making any changes. <h1>Product</h1> to be removed as <h1>Product</h1>

    {{{{raw}}}} - I'll just get the text. rawwithout addressing the context, and without having a password handlebars expressions inside it.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2