jeudi 5 septembre 2019

Handlebars rendered in new line

I'm implementing Google strctured data using Ember and adding some dynamic values

  <script type="application/ld+json">
  [{
    "@context": "",
...

The rendered html is:

  <script type="application/ld+json">
  [{
    "@context": "  // ember adds new line before and after
         rendered-value-string
   ",
...




Aucun commentaire:

Enregistrer un commentaire